Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001074/0.001074, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003195/0.003195, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8571/0.8571, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.374e-05, allocations: 2.281 kB / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1156/0.1157, allocations: 8.401 MB / 306.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.1194, allocations: 2.92 MB / 309.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.1199, allocations: 34.62 kB / 309.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.121, allocations: 0.5683 MB / 310.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.1218, allocations: 0.6071 MB / 311 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.1223, allocations: 321.4 kB / 311.3 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.1235, allocations: 1.838 MB / 313.1 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.1239, allocations: 426.7 kB / 313.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.1249, allocations: 1.032 MB / 314.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.1254, allocations: 0.5375 MB / 315.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1256, allocations: 162.1 kB / 315.3 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1258, allocations: 196.4 kB / 315.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.126, allocations: 343.8 kB / 315.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.1264, allocations: 0.5577 MB / 316.4 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1278, allocations: 2.009 MB / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1278, allocations: 0 / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1278, allocations: 1.344 kB / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.1278, allocations: 0 / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001938/0.1298, allocations: 1.749 MB / 320.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1298, allocations: 14.16 kB / 320.1 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.1299, allocations: 165.2 kB / 320.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.1303, allocations: 211.4 kB / 320.5 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.1311, allocations: 0.7593 MB / 321.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.1312, allocations: 168.5 kB / 321.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1313, allocations: 112.5 kB / 321.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1325, allocations: 1.573 MB / 323.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.1325, allocations: 5.188 kB / 323.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.1325, allocations: 52.41 kB / 323.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.1325, allocations: 25.53 kB / 323.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1336, allocations: 0.7553 MB / 324 MB, free: 1.512 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.1369, allocations: 3.364 MB / 327.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.1379, allocations: 0.5466 MB / 327.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.1382, allocations: 245.5 kB / 328.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.1382, allocations: 9.844 kB / 328.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.1386, allocations: 324.3 kB / 328.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.924e-06/0.1386, allocations: 1.219 kB / 328.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002772/0.1414, allocations: 1.858 MB / 330.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.1416, allocations: 477.8 kB / 330.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1426, allocations: 1.126 MB / 331.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.1426, allocations: 44.42 kB / 331.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.143, allocations: 0.6539 MB / 332.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1431, allocations: 239.5 kB / 332.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1433, allocations: 194.5 kB / 333 MB, free: 11.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1434, allocations: 343.2 kB / 333.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.1437, allocations: 304.6 kB / 333.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.1444, allocations: 1.164 MB / 334.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.1452, allocations: 0.9528 MB / 335.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1452, allocations: 7.5 kB / 335.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001241/0.1465, allocations: 1.192 MB / 337 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.1465, allocations: 75.83 kB / 337 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1465, allocations: 12 kB / 337 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.1469, allocations: 169.6 kB / 337.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.1472, allocations: 203.7 kB / 337.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.1497, allocations: 3.64 MB / 341 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.1502, allocations: 63.91 kB / 341.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.1502, allocations: 44.62 kB / 341.2 MB, free: 2.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.1505, allocations: 303.7 kB / 341.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-05/0.1506, allocations: 131.2 kB / 341.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.1514, allocations: 0.706 MB / 342.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1514, allocations: 8 kB / 342.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1514, allocations: 0.875 kB / 342.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007761/0.1522, allocations: 0.9473 MB / 343.2 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1539, allocations: 1.608 MB / 344.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1539, allocations: 4 kB / 344.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.1542, allocations: 107.8 kB / 345 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.1544, allocations: 134.3 kB / 345.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1544, allocations: 16.86 kB / 345.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.1564, allocations: 3.353 MB / 348.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1564, allocations: 3.984 kB / 348.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1574, allocations: 1.057 MB / 349.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.1577, allocations: 179.2 kB / 349.7 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.1578, allocations: 16 kB / 349.7 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.1581, allocations: 43.97 kB / 349.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.1582, allocations: 56.39 kB / 349.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1582, allocations: 16 kB / 349.8 MB, free: 9.473 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006429/0.1588, allocations: 0.7484 MB / 350.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 350.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.1595, allocations: 315.9 kB / 350.9 MB, free: 8.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/0.1611, allocations: 1.619 MB / 352.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1625, allocations: 1.125 MB / 353.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1625, allocations: 4 kB / 353.6 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.1631, allocations: 0.5331 MB / 354.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.1642, allocations: 333.2 kB / 354.5 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.1746, allocations: 9.909 MB / 364.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.175, allocations: 0.4896 MB / 364.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.1753, allocations: 145.8 kB / 365 MB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.1757, allocations: 472.3 kB / 365.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1757, allocations: 4 kB / 365.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.2209, allocations: 31.65 MB / 397.1 MB, free: 9.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.115, allocations: 3.953 kB / 397.1 MB, free: 9.266 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 653] Reference file matches [Calling sys.exit(0), Time elapsed: 23.71831705980003]