Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009962/0.0009962, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001038/0.001038, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.462e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01398/0.014, allocations: 7.781 MB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.01739, allocations: 2.59 MB / 283.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.01778, allocations: 23.94 kB / 283.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.01862, allocations: 496.8 kB / 284.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.01915, allocations: 452.4 kB / 284.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.01943, allocations: 219.6 kB / 284.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000816/0.02024, allocations: 1.283 MB / 286.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.02064, allocations: 346.5 kB / 286.6 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.02127, allocations: 0.7443 MB / 287.3 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.02162, allocations: 410.8 kB / 287.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.02171, allocations: 116 kB / 287.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.02188, allocations: 156 kB / 288 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.022, allocations: 243 kB / 288.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.02224, allocations: 395.1 kB / 288.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.02288, allocations: 0.8017 MB / 289.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.02288, allocations: 0 / 289.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02288, allocations: 0 / 289.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.02289, allocations: 0 / 289.4 MB, free: 1.16 MB / 266.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.09645/0.1193, allocations: 1.358 MB / 290.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1194, allocations: 11.77 kB / 290.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.1199, allocations: 243.7 kB / 291 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.1206, allocations: 0.5439 MB / 291.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.1206, allocations: 62.16 kB / 291.6 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.1207, allocations: 93.66 kB / 291.7 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.1214, allocations: 0.6539 MB / 292.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.1214, allocations: 1.703 kB / 292.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1214, allocations: 38.94 kB / 292.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.1215, allocations: 22.12 kB / 292.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.1218, allocations: 234.6 kB / 292.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.1243, allocations: 3.293 MB / 295.9 MB, free: 22.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1245, allocations: 150.1 kB / 296.1 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.1246, allocations: 55.69 kB / 296.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1246, allocations: 14.78 kB / 296.2 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1246, allocations: 37.86 kB / 296.2 MB, free: 22.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.1247, allocations: 0 / 296.2 MB, free: 22.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008022/0.1255, allocations: 0.5872 MB / 296.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.1255, allocations: 85.11 kB / 296.9 MB, free: 22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.126, allocations: 0.6823 MB / 297.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.126, allocations: 30.77 kB / 297.6 MB, free: 21.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.1262, allocations: 0.6003 MB / 298.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.1263, allocations: 111.1 kB / 298.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1264, allocations: 135.7 kB / 298.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.1265, allocations: 0.562 MB / 299 MB, free: 20.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.1265, allocations: 48.94 kB / 299 MB, free: 20.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1267, allocations: 0.5237 MB / 299.6 MB, free: 20.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.127, allocations: 0.6171 MB / 300.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.127, allocations: 3.156 kB / 300.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000507/0.1275, allocations: 0.5105 MB / 300.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1275, allocations: 10.97 kB / 300.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1275, allocations: 10.25 kB / 300.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.395e-05/0.1276, allocations: 36.97 kB / 300.7 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.1279, allocations: 146.2 kB / 300.9 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/0.1284, allocations: 1.734 MB / 302.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.1286, allocations: 37.45 kB / 302.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1286, allocations: 27.97 kB / 302.7 MB, free: 17.68 MB / 266.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.0001171/0.1287, allocations: 201 kB / 302.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.1288, allocations: 78.25 kB / 303 MB, free: 17.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.129, allocations: 234.6 kB / 303.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.129, allocations: 2.312 kB / 303.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.129, allocations: 1.219 kB / 303.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.129, allocations: 2.438 kB / 303.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.1297, allocations: 0.7979 MB / 304 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1297, allocations: 6.328 kB / 304 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1299, allocations: 61.3 kB / 304.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.302e-05/0.1299, allocations: 21 kB / 304.1 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1299, allocations: 9.25 kB / 304.1 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/0.1303, allocations: 1.722 MB / 305.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1303, allocations: 6.344 kB / 305.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1306, allocations: 494 kB / 306.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1307, allocations: 88.56 kB / 306.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1308, allocations: 9.359 kB / 306.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1309, allocations: 16.45 kB / 306.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.131, allocations: 24.56 kB / 306.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.131, allocations: 15.28 kB / 306.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002482/0.1312, allocations: 400 kB / 306.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1312, allocations: 4 kB / 306.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.1316, allocations: 169.1 kB / 307 MB, free: 14.46 MB / 266.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.0001288/0.1318, allocations: 120.2 kB / 307.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.1321, allocations: 422 kB / 307.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1321, allocations: 0 / 307.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1322, allocations: 265.6 kB / 307.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1328, allocations: 173.3 kB / 308 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1342, allocations: 1.375 MB / 309.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.1343, allocations: 151.9 kB / 309.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.1345, allocations: 82.58 kB / 309.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.1348, allocations: 243.1 kB / 309.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1348, allocations: 0 / 309.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Templates: time 0.01056/0.1453, allocations: 8.995 MB / 318.8 MB, free: 6.227 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1245632246136665]