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.0008692/0.0008692, allocations: 83.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.003969/0.003969, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8415/0.8415, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.393e-06/1.393e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.261e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1238/0.1238, allocations: 8.398 MB / 306.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.1286, allocations: 2.925 MB / 309.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1298, allocations: 34.09 kB / 309.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.1312, allocations: 0.5611 MB / 310.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.1325, allocations: 0.6135 MB / 311 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1331, allocations: 322.6 kB / 311.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1348, allocations: 1.83 MB / 313.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.1354, allocations: 430.4 kB / 313.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1366, allocations: 1.037 MB / 314.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.1373, allocations: 0.5338 MB / 315.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1375, allocations: 161.7 kB / 315.3 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.1378, allocations: 204.2 kB / 315.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.138, allocations: 340.1 kB / 315.8 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.1386, allocations: 0.5581 MB / 316.4 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.141, allocations: 2.004 MB / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.141, allocations: 1.188 kB / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.141, allocations: 0 / 318.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-05/0.1411, 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.003422/0.1445, allocations: 1.746 MB / 320.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1445, allocations: 13.66 kB / 320.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.1447, allocations: 172.3 kB / 320.3 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.1452, allocations: 208 kB / 320.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1466, allocations: 0.7645 MB / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1467, allocations: 172.1 kB / 321.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1468, allocations: 111.4 kB / 321.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1482, allocations: 1.574 MB / 323.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.1482, allocations: 1.625 kB / 323.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.1483, allocations: 46.91 kB / 323.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1483, allocations: 26.69 kB / 323.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1494, allocations: 0.7576 MB / 324 MB, free: 1.516 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.004151/0.1536, allocations: 3.365 MB / 327.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009848/0.1545, allocations: 0.5476 MB / 327.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.1549, allocations: 240.6 kB / 328.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1549, allocations: 9.594 kB / 328.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.1554, allocations: 325.3 kB / 328.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.405e-06/0.1554, allocations: 0 / 328.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.003255/0.1586, allocations: 1.857 MB / 330.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.1588, allocations: 479.4 kB / 330.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.1601, allocations: 1.13 MB / 331.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.1601, allocations: 43.67 kB / 331.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.1606, allocations: 0.6542 MB / 332.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.1608, allocations: 248 kB / 332.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.161, allocations: 194.8 kB / 333 MB, free: 11.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1611, allocations: 342.6 kB / 333.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.1616, allocations: 300.6 kB / 333.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.1625, allocations: 1.163 MB / 334.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.1634, allocations: 0.9476 MB / 335.8 MB, free: 8.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.1634, allocations: 7.5 kB / 335.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001407/0.1648, allocations: 1.192 MB / 337 MB, free: 7.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.1648, allocations: 83.42 kB / 337 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.1649, allocations: 12 kB / 337 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/0.1653, allocations: 157.6 kB / 337.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.1657, allocations: 211.6 kB / 337.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.1689, allocations: 3.633 MB / 341 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.1698, allocations: 64.06 kB / 341.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.1699, allocations: 56.56 kB / 341.2 MB, free: 2.641 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.000472/0.1703, allocations: 289.6 kB / 341.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1705, allocations: 135.2 kB / 341.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.1714, allocations: 0.706 MB / 342.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1714, allocations: 8 kB / 342.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1714, allocations: 0.875 kB / 342.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008227/0.1722, allocations: 0.9473 MB / 343.2 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.1744, allocations: 1.612 MB / 344.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1744, allocations: 0 / 344.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1746, allocations: 112.1 kB / 345 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.1752, allocations: 125.6 kB / 345.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1752, allocations: 20.86 kB / 345.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.1776, allocations: 3.35 MB / 348.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.1776, allocations: 12.03 kB / 348.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1792, allocations: 1.049 MB / 349.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.1797, allocations: 183.2 kB / 349.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.1798, allocations: 16 kB / 349.7 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.1801, allocations: 35.97 kB / 349.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1802, allocations: 68.33 kB / 349.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1803, allocations: 16 kB / 349.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008152/0.1811, allocations: 0.7522 MB / 350.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1811, allocations: 0 / 350.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001053/0.1821, allocations: 311.9 kB / 350.9 MB, free: 8.422 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.001844/0.184, allocations: 1.612 MB / 352.5 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.1855, allocations: 1.127 MB / 353.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1855, allocations: 0 / 353.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.1861, allocations: 0.5434 MB / 354.2 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.1873, allocations: 329.2 kB / 354.5 MB, free: 4.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.1992, allocations: 9.909 MB / 364.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1996, allocations: 0.4896 MB / 364.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.2001, allocations: 145.8 kB / 365 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.2006, allocations: 480.3 kB / 365.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of SimCode: time 2.103e-06/0.2006, allocations: 0 / 365.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.2532, allocations: 31.64 MB / 397.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.053/9.306, allocations: 8.016 kB / 397.1 MB, free: 9.277 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv failed! " [Timeout remaining time 658] "" Variables in the reference:time,armature.T,core.T,dcpm.la.i,loadInertia.phi,loadInertia.w Variables in the result:time,armature.T,core.T,dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi [Calling sys.exit(0), Time elapsed: 17.53505003079772]