Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 56.75 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009775/0.1165, allocations: 7.058 MB / 386 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.1221, allocations: 2.478 MB / 388.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1231, allocations: 27.94 kB / 388.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.1249, allocations: 492.9 kB / 389 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.1265, allocations: 436.7 kB / 389.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1272, allocations: 215.7 kB / 389.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.1291, allocations: 1.233 MB / 390.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.1297, allocations: 346.5 kB / 391.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.1305, allocations: 0.5058 MB / 391.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.1312, allocations: 453.6 kB / 392.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1313, allocations: 116 kB / 392.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.1317, allocations: 156 kB / 392.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1319, allocations: 235.2 kB / 392.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.1325, allocations: 469.9 kB / 393.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1344, allocations: 1.475 MB / 394.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1344, allocations: 0 / 394.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1344, allocations: 4 kB / 394.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.1344, allocations: 0 / 394.6 MB, free: 15.72 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.002566/0.137, allocations: 1.264 MB / 395.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.1371, allocations: 11.98 kB / 395.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.1378, allocations: 176.2 kB / 396 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.1391, allocations: 0.5765 MB / 396.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.1391, allocations: 62.38 kB / 396.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1393, allocations: 83.94 kB / 396.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1409, allocations: 0.8725 MB / 397.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.1409, allocations: 7.953 kB / 397.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.141, allocations: 36 kB / 397.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.1411, allocations: 24 kB / 397.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1422, allocations: 0.5426 MB / 398.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/0.1469, allocations: 2.936 MB / 401.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.1475, allocations: 241.7 kB / 401.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.1478, allocations: 100.8 kB / 401.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.1478, allocations: 4 kB / 401.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1479, allocations: 38.56 kB / 401.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.1479, allocations: 0 / 401.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002372/0.1503, allocations: 0.9346 MB / 402.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.1503, allocations: 85.11 kB / 402.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1514, allocations: 0.6914 MB / 403.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1514, allocations: 33.7 kB / 403.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.1519, allocations: 0.5342 MB / 403.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.152, allocations: 111.1 kB / 403.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.1523, allocations: 118.2 kB / 404 MB, free: 5.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.1525, allocations: 378.8 kB / 404.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.1529, allocations: 129.2 kB / 404.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.1535, allocations: 476.1 kB / 405 MB, free: 4.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.1544, allocations: 0.6138 MB / 405.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.1544, allocations: 4 kB / 405.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001248/0.1556, allocations: 0.6423 MB / 406.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1557, allocations: 15.94 kB / 406.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1557, allocations: 8.844 kB / 406.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.1559, allocations: 36.8 kB / 406.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.1564, allocations: 155.7 kB / 406.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1577, allocations: 1.256 MB / 407.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.1583, allocations: 52.03 kB / 407.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.1583, allocations: 36 kB / 407.8 MB, free: 1.664 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.0004239/0.1588, allocations: 241.5 kB / 408 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1589, allocations: 67.58 kB / 408.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.1596, allocations: 329 kB / 408.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1596, allocations: 4 kB / 408.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1596, allocations: 0 / 408.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1596, allocations: 4 kB / 408.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1613, allocations: 0.9247 MB / 409.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1613, allocations: 0 / 409.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.1616, allocations: 72.09 kB / 409.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.506e-05/0.1617, allocations: 24.86 kB / 409.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1617, allocations: 12.03 kB / 409.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1627, allocations: 1.248 MB / 410.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1628, allocations: 4 kB / 410.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1638, allocations: 0.5568 MB / 411.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.164, allocations: 99.52 kB / 411.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.1641, allocations: 11.98 kB / 411.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.1644, allocations: 19.98 kB / 411.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.1645, allocations: 31.83 kB / 411.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1645, allocations: 8 kB / 411.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006799/0.1652, allocations: 471 kB / 411.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 411.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007752/0.166, allocations: 164 kB / 412.1 MB, free: 13.17 MB / 382.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.0002177/0.1662, allocations: 115.2 kB / 412.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1672, allocations: 481.5 kB / 412.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1672, allocations: 0 / 412.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.1676, allocations: 234.5 kB / 412.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.1685, allocations: 182.7 kB / 413 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.171, allocations: 1.474 MB / 414.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1714, allocations: 361.1 kB / 414.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.1718, allocations: 85.55 kB / 415 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1719, allocations: 48.5 kB / 415 MB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1719, allocations: 0 / 415 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01749/0.1894, allocations: 8.293 MB / 423.3 MB, free: 1.973 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.776652414002456]