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.001631/0.001631, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.001363/0.001363, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.441/1.441, allocations: 207.6 MB / 231.8 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 55.92 kB / 342.3 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1016, allocations: 49.13 MB / 391.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01152/0.1131, allocations: 9.58 MB / 401 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.1189, allocations: 3.132 MB / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.12, allocations: 35.81 kB / 404.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.1216, allocations: 0.6172 MB / 404.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1234, allocations: 0.5815 MB / 405.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.1242, allocations: 323.5 kB / 405.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.1268, allocations: 1.759 MB / 407.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.1276, allocations: 452.9 kB / 407.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.1286, allocations: 0.6927 MB / 408.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1297, allocations: 0.7467 MB / 409.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.13, allocations: 160 kB / 409.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.1304, allocations: 200 kB / 409.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.1307, allocations: 334.8 kB / 410 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008888/0.1316, allocations: 0.8009 MB / 410.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.1343, allocations: 1.992 MB / 412.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1343, allocations: 3.938 kB / 412.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1343, allocations: 0 / 412.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.1343, allocations: 0 / 412.8 MB, free: 3.168 MB / 334.1 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.003757/0.1381, allocations: 1.838 MB / 414.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1381, allocations: 8.031 kB / 414.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.1383, allocations: 165 kB / 414.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.139, allocations: 211.9 kB / 415 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.1406, allocations: 0.8375 MB / 415.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.1408, allocations: 120.4 kB / 416 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.141, allocations: 111.9 kB / 416.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.143, allocations: 1.135 MB / 417.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.143, allocations: 0 / 417.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.1431, allocations: 52 kB / 417.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.1432, allocations: 28 kB / 417.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.1448, allocations: 0.7574 MB / 418.1 MB, free: 13.69 MB / 350.1 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.006378/0.1512, allocations: 3.927 MB / 422 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.1528, allocations: 0.5459 MB / 422.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.1534, allocations: 247.8 kB / 422.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.1534, allocations: 12.55 kB / 422.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006808/0.1541, allocations: 303.3 kB / 423.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.1541, allocations: 0 / 423.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005323/0.1594, allocations: 2.087 MB / 425.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003208/0.1598, allocations: 479.2 kB / 425.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.1614, allocations: 1.109 MB / 426.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.1615, allocations: 41.7 kB / 426.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.1621, allocations: 0.656 MB / 427.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.1623, allocations: 242 kB / 427.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.1626, allocations: 202.8 kB / 427.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1628, allocations: 341.9 kB / 428.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.1633, allocations: 242.5 kB / 428.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.1644, allocations: 0.713 MB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1659, allocations: 0.9491 MB / 430.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1659, allocations: 4 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002268/0.1682, allocations: 1.138 MB / 431.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.1683, allocations: 67.84 kB / 431.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.1683, allocations: 20 kB / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.1689, allocations: 173.6 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.1696, allocations: 203.7 kB / 431.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.1743, allocations: 3.885 MB / 435.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/0.1753, allocations: 64.08 kB / 435.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.1754, allocations: 44 kB / 435.7 MB, free: 10.89 MB / 366.1 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.0005089/0.1759, allocations: 297.6 kB / 436 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.1761, allocations: 131.2 kB / 436.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.1776, allocations: 0.6999 MB / 436.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1776, allocations: 8 kB / 436.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1776, allocations: 0 / 436.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/0.1791, allocations: 0.949 MB / 437.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.1821, allocations: 1.789 MB / 439.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1821, allocations: 4.219 kB / 439.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.1826, allocations: 111.8 kB / 439.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.1831, allocations: 133.6 kB / 439.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.1831, allocations: 20.12 kB / 439.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.1871, allocations: 3.584 MB / 443.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1871, allocations: 4.031 kB / 443.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.1893, allocations: 1.055 MB / 444.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.1899, allocations: 260.3 kB / 444.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.19, allocations: 12 kB / 444.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.1906, allocations: 43.95 kB / 444.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.1908, allocations: 60.38 kB / 444.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.1908, allocations: 23.98 kB / 444.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001117/0.192, allocations: 0.7406 MB / 445.6 MB, free: 416 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.192, allocations: 0 / 445.6 MB, free: 416 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.193, allocations: 308 kB / 445.9 MB, free: 108 kB / 366.1 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.002505/0.1956, allocations: 1.628 MB / 447.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.1978, allocations: 1.065 MB / 448.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.1978, allocations: 4 kB / 448.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.1989, allocations: 0.5361 MB / 449.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.2007, allocations: 332.6 kB / 449.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.2174, allocations: 9.748 MB / 459.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/0.2183, allocations: 1.082 MB / 460.3 MB, free: 1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006923/0.219, allocations: 153.8 kB / 460.4 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.2196, allocations: 475.3 kB / 460.9 MB, free: 392 kB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2196, allocations: 0 / 460.9 MB, free: 392 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/0.5017, allocations: 29.3 MB / 490.2 MB, free: 48.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/14.95, allocations: 15.98 kB / 490.2 MB, free: 48.22 MB / 382.1 MB " [Timeout remaining time 645] (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/jenkins1/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/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 26.26802902399504]