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.001379/0.001379, allocations: 120.1 kB / 17.79 MB, free: 5.25 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.002406/0.002406, allocations: 190.8 kB / 20.73 MB, free: 2.316 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.472/1.472, allocations: 225.6 MB / 249.1 MB, free: 3.613 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: 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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 366.1 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.0958, allocations: 52.15 MB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009821/0.1056, allocations: 7.997 MB / 426.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.1107, allocations: 2.617 MB / 428.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.1111, allocations: 23.94 kB / 428.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.1125, allocations: 0.5281 MB / 429.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007807/0.1132, allocations: 432.7 kB / 429.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1137, allocations: 211.7 kB / 430.1 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.115, allocations: 1.241 MB / 431.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006255/0.1156, allocations: 378 kB / 431.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.1162, allocations: 482.1 kB / 432.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.1169, allocations: 0.5211 MB / 432.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.117, allocations: 116 kB / 432.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.1173, allocations: 156 kB / 433 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.1175, allocations: 231.1 kB / 433.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.118, allocations: 0.5599 MB / 433.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1196, allocations: 1.463 MB / 435.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1196, allocations: 3.938 kB / 435.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1196, allocations: 4 kB / 435.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1196, allocations: 0 / 435.2 MB, free: 11.08 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.002327/0.1219, allocations: 1.335 MB / 436.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.122, allocations: 15.88 kB / 436.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.1225, allocations: 152.2 kB / 436.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.1235, allocations: 0.6499 MB / 437.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.1236, allocations: 62.38 kB / 437.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1237, allocations: 87.89 kB / 437.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.1252, allocations: 0.8223 MB / 438.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.1252, allocations: 8 kB / 438.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.1253, allocations: 36 kB / 438.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1253, allocations: 20 kB / 438.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1264, allocations: 0.5387 MB / 438.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.1309, allocations: 3.571 MB / 442.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.1314, allocations: 226.6 kB / 442.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1317, allocations: 117.4 kB / 442.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1317, allocations: 4 kB / 442.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1318, allocations: 34.56 kB / 442.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1318, allocations: 0 / 442.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002235/0.134, allocations: 1.088 MB / 444 MB, free: 1.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.1341, allocations: 88.98 kB / 444 MB, free: 1.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.135, allocations: 0.7586 MB / 444.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1351, allocations: 33.64 kB / 444.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.1355, allocations: 0.5306 MB / 445.4 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.1356, allocations: 119.1 kB / 445.5 MB, free: 308 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.1357, allocations: 122.2 kB / 445.6 MB, free: 180 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2483/0.384, allocations: 382.8 kB / 446 MB, free: 29.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.3844, allocations: 127.1 kB / 446.1 MB, free: 29.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.3847, allocations: 443.4 kB / 446.5 MB, free: 29.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.3854, allocations: 0.6093 MB / 447.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3854, allocations: 3.531 kB / 447.1 MB, free: 29.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001076/0.3865, allocations: 0.6516 MB / 447.8 MB, free: 29.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3865, allocations: 9.25 kB / 447.8 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3865, allocations: 14.53 kB / 447.8 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.3867, allocations: 35.48 kB / 447.9 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.3871, allocations: 152.6 kB / 448 MB, free: 29.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007742/0.3879, allocations: 1.383 MB / 449.4 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.3884, allocations: 42.98 kB / 449.4 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3884, allocations: 35.91 kB / 449.5 MB, free: 27.73 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.0003137/0.3888, allocations: 239.3 kB / 449.7 MB, free: 27.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.3889, allocations: 84.45 kB / 449.8 MB, free: 27.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.3895, allocations: 338.3 kB / 450.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3895, allocations: 2.031 kB / 450.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3895, allocations: 3.938 kB / 450.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3895, allocations: 2.672 kB / 450.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.391, allocations: 1.115 MB / 451.2 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.391, allocations: 3.906 kB / 451.2 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.3912, allocations: 59.52 kB / 451.3 MB, free: 27.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-05/0.3913, allocations: 28.97 kB / 451.3 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3913, allocations: 8.797 kB / 451.3 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.392, allocations: 1.373 MB / 452.7 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.392, allocations: 2.156 kB / 452.7 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.3928, allocations: 0.5743 MB / 453.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3929, allocations: 180.2 kB / 453.5 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.393, allocations: 8.531 kB / 453.5 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.3934, allocations: 28.55 kB / 453.5 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.3934, allocations: 23.03 kB / 453.5 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3934, allocations: 13.91 kB / 453.5 MB, free: 25.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006688/0.3941, allocations: 0.5157 MB / 454 MB, free: 25.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3941, allocations: 1.125 kB / 454 MB, free: 25.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007037/0.3948, allocations: 170.8 kB / 454.2 MB, free: 25.38 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.000212/0.395, allocations: 128.7 kB / 454.3 MB, free: 25.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000959/0.396, allocations: 475.4 kB / 454.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.396, allocations: 0 / 454.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.3964, allocations: 244 kB / 455 MB, free: 25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.3972, allocations: 185.9 kB / 455.2 MB, free: 25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3997, allocations: 1.486 MB / 456.7 MB, free: 24.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.4002, allocations: 0.9519 MB / 457.7 MB, free: 23.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.4005, allocations: 90.42 kB / 457.8 MB, free: 23.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4006, allocations: 54.67 kB / 457.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4006, allocations: 0 / 457.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01835/0.419, allocations: 8.712 MB / 466.5 MB, free: 21.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200338600203395]