Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 51.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.286, allocations: 53.35 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01178/0.2978, allocations: 8.065 MB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.3034, allocations: 2.649 MB / 441.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.3048, allocations: 27.88 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.3071, allocations: 0.5638 MB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.3089, allocations: 496.4 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.3097, allocations: 243.6 kB / 443.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.312, allocations: 1.428 MB / 444.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3132, allocations: 403.3 kB / 445 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3144, allocations: 0.5758 MB / 445.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.3152, allocations: 0.5794 MB / 446.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.3154, allocations: 136 kB / 446.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.3157, allocations: 168 kB / 446.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.316, allocations: 279 kB / 446.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006834/0.3167, allocations: 0.6453 MB / 447.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.3188, allocations: 1.704 MB / 449.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3189, allocations: 7.938 kB / 449.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3189, allocations: 4 kB / 449.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3189, allocations: 0 / 449.1 MB, free: 4.828 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002693/0.3216, allocations: 1.384 MB / 450.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3216, allocations: 11.97 kB / 450.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.3218, allocations: 148.3 kB / 450.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.3224, allocations: 176.1 kB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3237, allocations: 0.6648 MB / 451.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.3238, allocations: 74 kB / 451.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.324, allocations: 92 kB / 451.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.3256, allocations: 0.9229 MB / 452.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.3256, allocations: 7.953 kB / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.3257, allocations: 40 kB / 452.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.3257, allocations: 24 kB / 452.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.327, allocations: 0.6285 MB / 453.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.3323, allocations: 3.78 MB / 457 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.3329, allocations: 260.2 kB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3332, allocations: 132.8 kB / 457.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3332, allocations: 4 kB / 457.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3333, allocations: 42.5 kB / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.3333, allocations: 0 / 457.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002255/0.3355, allocations: 1.048 MB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.3356, allocations: 81.11 kB / 458.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3367, allocations: 0.8253 MB / 459.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.3367, allocations: 37.7 kB / 459.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.3372, allocations: 0.5772 MB / 460 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3373, allocations: 138.9 kB / 460.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3375, allocations: 130.6 kB / 460.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3377, allocations: 333.9 kB / 460.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.338, allocations: 145.9 kB / 460.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.3386, allocations: 463.9 kB / 461.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.3396, allocations: 0.6396 MB / 461.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3396, allocations: 4 kB / 461.8 MB, free: 7.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001247/0.3408, allocations: 0.6928 MB / 462.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3408, allocations: 12 kB / 462.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3409, allocations: 11.94 kB / 462.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.341, allocations: 36.84 kB / 462.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.3415, allocations: 156 kB / 462.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3429, allocations: 1.295 MB / 464 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.3434, allocations: 31.98 kB / 464.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.3435, allocations: 39.94 kB / 464.1 MB, free: 4.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004627/0.3439, allocations: 253.8 kB / 464.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3441, allocations: 91.38 kB / 464.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008151/0.3449, allocations: 378.4 kB / 464.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3449, allocations: 8 kB / 464.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3449, allocations: 3.984 kB / 464.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3449, allocations: 0 / 464.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3471, allocations: 1.234 MB / 466.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3471, allocations: 7.938 kB / 466.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.3474, allocations: 72.11 kB / 466.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.3476, allocations: 28.84 kB / 466.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3476, allocations: 8 kB / 466.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.3488, allocations: 1.271 MB / 467.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3488, allocations: 3.938 kB / 467.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3499, allocations: 0.6324 MB / 468.1 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.3501, allocations: 115.4 kB / 468.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.3502, allocations: 11.98 kB / 468.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.3506, allocations: 23.92 kB / 468.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3506, allocations: 27.95 kB / 468.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3507, allocations: 12 kB / 468.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008716/0.3515, allocations: 0.5655 MB / 468.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 0 / 468.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008675/0.3524, allocations: 188 kB / 469 MB, free: 15.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.3541, allocations: 1.209 MB / 470.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3553, allocations: 498.8 kB / 470.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3553, allocations: 1.938 kB / 470.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.3557, allocations: 258.9 kB / 471 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3568, allocations: 208.7 kB / 471.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3677, allocations: 7.131 MB / 478.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.3684, allocations: 0.9884 MB / 479.3 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003797/0.3688, allocations: 106.9 kB / 479.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.3693, allocations: 371.3 kB / 479.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3693, allocations: 0 / 479.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/0.4312, allocations: 18.51 MB / 498.3 MB, free: 2.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.48, allocations: 0 / 498.3 MB, free: 2.242 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.39062470709905]