Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.0009101/0.0009101, 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.004645/0.004645, 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.8729/0.8729, 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_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.25e-05, allocations: 6.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1229/0.1229, allocations: 6.996 MB / 305.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.126, allocations: 2.442 MB / 307.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.1264, allocations: 27.25 kB / 307.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1275, allocations: 491.8 kB / 308.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.1282, allocations: 457.9 kB / 308.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1285, allocations: 216.3 kB / 309.1 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008363/0.1294, allocations: 1.282 MB / 310.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.1298, allocations: 345.9 kB / 310.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.1303, allocations: 0.7252 MB / 311.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.1307, allocations: 388.5 kB / 311.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1308, allocations: 114.5 kB / 311.9 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.131, allocations: 155.3 kB / 312 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1311, allocations: 237.9 kB / 312.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1314, allocations: 401.8 kB / 312.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1325, allocations: 1.453 MB / 314.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1325, allocations: 0 / 314.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1325, allocations: 0 / 314.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1325, allocations: 1.031 kB / 314.1 MB, free: 7.719 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001351/0.1339, allocations: 1.251 MB / 315.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1339, allocations: 17.58 kB / 315.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.134, allocations: 131.3 kB / 315.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.1343, allocations: 155 kB / 315.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.1351, allocations: 0.5837 MB / 316.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1351, allocations: 68.78 kB / 316.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.1352, allocations: 87.61 kB / 316.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.1362, allocations: 0.8681 MB / 317.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.1362, allocations: 6.703 kB / 317.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.1363, allocations: 35.81 kB / 317.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1363, allocations: 22.91 kB / 317.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.137, allocations: 0.5386 MB / 317.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1394, allocations: 3.065 MB / 320.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.1398, allocations: 231.4 kB / 321.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1399, allocations: 110 kB / 321.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.14, allocations: 7.344 kB / 321.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.14, allocations: 41.41 kB / 321.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.14, allocations: 0 / 321.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.00131/0.1413, allocations: 0.9386 MB / 322.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.1413, allocations: 84.42 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.1419, allocations: 0.7807 MB / 323.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1419, allocations: 32.05 kB / 323.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1421, allocations: 0.5224 MB / 323.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1421, allocations: 113.1 kB / 323.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.1422, allocations: 119.2 kB / 323.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.1423, allocations: 386.8 kB / 324.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1425, allocations: 126.8 kB / 324.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.1427, allocations: 479.9 kB / 324.9 MB, free: 408 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.1432, allocations: 0.6149 MB / 325.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1432, allocations: 3.094 kB / 325.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007115/0.1439, allocations: 0.6434 MB / 326.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.144, allocations: 13.19 kB / 326.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.144, allocations: 15.58 kB / 326.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.1441, allocations: 31.8 kB / 326.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1443, allocations: 153.6 kB / 326.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006773/0.145, allocations: 1.285 MB / 327.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1453, allocations: 41.88 kB / 327.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.1453, allocations: 32.81 kB / 327.7 MB, free: 14.09 MB / 298.7 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.0002112/0.1455, allocations: 237 kB / 327.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.1456, allocations: 84.52 kB / 328 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.146, allocations: 333.1 kB / 328.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.146, allocations: 4.188 kB / 328.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.146, allocations: 0 / 328.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.146, allocations: 0 / 328.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.147, allocations: 1.027 MB / 329.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.147, allocations: 2.125 kB / 329.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1472, allocations: 66.39 kB / 329.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.952e-05/0.1472, allocations: 20.62 kB / 329.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1472, allocations: 8.188 kB / 329.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005516/0.1478, allocations: 1.262 MB / 330.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1478, allocations: 10.31 kB / 330.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.1484, allocations: 0.5716 MB / 331.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.1485, allocations: 107.5 kB / 331.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.1486, allocations: 12.44 kB / 331.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1487, allocations: 25.25 kB / 331.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1488, allocations: 21.75 kB / 331.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1488, allocations: 16.14 kB / 331.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004163/0.1492, allocations: 0.5164 MB / 332 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1492, allocations: 0 / 332 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.1496, allocations: 166.8 kB / 332.2 MB, free: 10.7 MB / 298.7 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.0007727/0.1504, allocations: 1.13 MB / 333.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.151, allocations: 472 kB / 333.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.151, allocations: 1.094 kB / 333.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.1512, allocations: 239 kB / 334 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1517, allocations: 196.3 kB / 334.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/0.158, allocations: 6.47 MB / 340.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.1582, allocations: 361.3 kB / 341 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.1585, allocations: 90.17 kB / 341.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.1587, allocations: 320.4 kB / 341.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1587, allocations: 4 kB / 341.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.1856, allocations: 17.64 MB / 359.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.821, allocations: 11.94 kB / 359.1 MB, free: 0.5156 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --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_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,dcpm.la.i,loadInertia.phi,loadInertia.w Variables in the result:time,dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi [Calling sys.exit(0), Time elapsed: 10.112899428233504]