Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 122.9 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 52.13 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01046/0.1433, allocations: 8.011 MB / 425.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.1487, allocations: 2.621 MB / 428.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.1498, allocations: 23.94 kB / 428.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1513, allocations: 0.5243 MB / 429 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1526, allocations: 432.8 kB / 429.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.1531, allocations: 219.6 kB / 429.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1547, allocations: 1.233 MB / 430.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006447/0.1553, allocations: 374 kB / 431.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.156, allocations: 486.1 kB / 431.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.1566, allocations: 0.5212 MB / 432.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.1568, allocations: 119.9 kB / 432.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1571, allocations: 152 kB / 432.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1573, allocations: 227.2 kB / 432.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005439/0.1579, allocations: 0.5715 MB / 433.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1596, allocations: 1.455 MB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1596, allocations: 0 / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.1596, allocations: 4 kB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1596, allocations: 0 / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002404/0.162, allocations: 1.343 MB / 436.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1621, allocations: 12.03 kB / 436.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.1622, allocations: 131.5 kB / 436.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.1627, allocations: 156.1 kB / 436.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1639, allocations: 0.6499 MB / 437 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.1639, allocations: 66.12 kB / 437.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1641, allocations: 87.95 kB / 437.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1654, allocations: 0.8223 MB / 438 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.1655, allocations: 0 / 438 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.1655, allocations: 36 kB / 438 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.1656, allocations: 20 kB / 438 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.1666, allocations: 0.5426 MB / 438.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.1712, allocations: 3.563 MB / 442.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.1718, allocations: 226.7 kB / 442.4 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.172, allocations: 105.5 kB / 442.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.172, allocations: 4 kB / 442.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1721, allocations: 42.5 kB / 442.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.1721, allocations: 0 / 442.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002227/0.1743, allocations: 1.088 MB / 443.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.1744, allocations: 85.05 kB / 443.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1754, allocations: 0.7625 MB / 444.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1754, allocations: 33.64 kB / 444.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.1758, allocations: 0.5305 MB / 445 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.1759, allocations: 115.1 kB / 445.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1761, allocations: 122.2 kB / 445.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1763, allocations: 382.8 kB / 445.6 MB, free: 208 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.1766, allocations: 129.2 kB / 445.7 MB, free: 76 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2692/0.4457, allocations: 440.2 kB / 446.2 MB, free: 29.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.4465, allocations: 0.6128 MB / 446.8 MB, free: 29.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4465, allocations: 4.781 kB / 446.8 MB, free: 29.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001183/0.4477, allocations: 0.6505 MB / 447.4 MB, free: 29.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4477, allocations: 12.16 kB / 447.4 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4477, allocations: 11.84 kB / 447.4 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.4479, allocations: 35.03 kB / 447.5 MB, free: 29.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.4483, allocations: 146.8 kB / 447.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007968/0.4491, allocations: 1.391 MB / 449 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.4497, allocations: 46.11 kB / 449.1 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.4497, allocations: 33.06 kB / 449.1 MB, free: 27.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003409/0.4501, allocations: 248 kB / 449.3 MB, free: 27.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4502, allocations: 79.56 kB / 449.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4508, allocations: 335.2 kB / 449.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4508, allocations: 3.562 kB / 449.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4508, allocations: 3.25 kB / 449.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4508, allocations: 1.828 kB / 449.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.4523, allocations: 1.113 MB / 450.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4523, allocations: 8.812 kB / 450.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4526, allocations: 62.7 kB / 450.9 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.845e-05/0.4526, allocations: 26.55 kB / 451 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4527, allocations: 11.53 kB / 451 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000655/0.4533, allocations: 1.37 MB / 452.3 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4533, allocations: 2.75 kB / 452.3 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.4541, allocations: 0.5708 MB / 452.9 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.4543, allocations: 181 kB / 453.1 MB, free: 25.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.4544, allocations: 15.78 kB / 453.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.4547, allocations: 23.64 kB / 453.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.4547, allocations: 28.94 kB / 453.2 MB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4548, allocations: 12.19 kB / 453.2 MB, free: 25.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.4555, allocations: 0.5117 MB / 453.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4555, allocations: 0.6562 kB / 453.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007009/0.4562, allocations: 176.9 kB / 453.9 MB, free: 25.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.001132/0.4573, allocations: 1.151 MB / 455 MB, free: 24.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009201/0.4582, allocations: 474.8 kB / 455.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4582, allocations: 1.125 kB / 455.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.4586, allocations: 240.5 kB / 455.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.4594, allocations: 182.6 kB / 455.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008959/0.4684, allocations: 6.519 MB / 462.4 MB, free: 20.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4689, allocations: 0.9512 MB / 463.4 MB, free: 19.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.4693, allocations: 91.91 kB / 463.4 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.4696, allocations: 316.2 kB / 463.8 MB, free: 19.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4696, allocations: 1.344 kB / 463.8 MB, free: 19.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.5216, allocations: 16.2 MB / 480 MB, free: 13.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.67, allocations: 11.72 kB / 480 MB, free: 13.86 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 16.13454203028232]