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.001825/0.001825, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.002194/0.002194, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001579/0.001579, allocations: 48.06 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2135, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009294/0.2228, allocations: 7.067 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.2268, allocations: 2.477 MB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.2273, allocations: 27.88 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2285, allocations: 483.1 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008471/0.2293, allocations: 432.8 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.2298, allocations: 223.6 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.231, allocations: 1.237 MB / 444.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.2316, allocations: 370.5 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.2322, allocations: 0.4942 MB / 445.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.2328, allocations: 0.5133 MB / 445.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.233, allocations: 116 kB / 445.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.2332, allocations: 160 kB / 445.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.2334, allocations: 239.1 kB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.2339, allocations: 466 kB / 446.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.2355, allocations: 1.49 MB / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2355, allocations: 0 / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2355, allocations: 0 / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.2355, allocations: 0 / 448.1 MB, free: 6.902 MB / 350.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.002295/0.2378, allocations: 1.252 MB / 449.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2378, allocations: 11.97 kB / 449.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/0.2386, allocations: 180.2 kB / 449.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2397, allocations: 0.5803 MB / 450.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.2398, allocations: 66.38 kB / 450.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2399, allocations: 87.94 kB / 450.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.2414, allocations: 0.8764 MB / 451.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.2414, allocations: 3.953 kB / 451.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.2415, allocations: 36 kB / 451.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2415, allocations: 27.94 kB / 451.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.2427, allocations: 0.5309 MB / 451.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.2468, allocations: 2.944 MB / 454.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.2473, allocations: 236.7 kB / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.2476, allocations: 104.8 kB / 455 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2476, allocations: 7.984 kB / 455 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2476, allocations: 34.56 kB / 455 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.2476, allocations: 0 / 455 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002058/0.2497, allocations: 0.9324 MB / 456 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.2498, allocations: 77.11 kB / 456.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.2506, allocations: 0.6876 MB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2507, allocations: 29.7 kB / 456.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.2511, allocations: 0.5421 MB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.2512, allocations: 115 kB / 457.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.2513, allocations: 122.2 kB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2515, allocations: 378.7 kB / 457.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.2518, allocations: 129.2 kB / 458 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.2524, allocations: 475.9 kB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.2533, allocations: 0.6099 MB / 459.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2533, allocations: 4 kB / 459.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001224/0.2545, allocations: 0.6469 MB / 459.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.2546, allocations: 15.98 kB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2546, allocations: 12.09 kB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.2547, allocations: 28.86 kB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.2552, allocations: 163.7 kB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.2564, allocations: 1.252 MB / 461.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.2569, allocations: 56.03 kB / 461.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.2569, allocations: 28 kB / 461.3 MB, free: 8.855 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.000318/0.2572, allocations: 243.4 kB / 461.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.2574, allocations: 67.58 kB / 461.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.2581, allocations: 329 kB / 461.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2581, allocations: 7.922 kB / 461.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2581, allocations: 0 / 461.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.2583, allocations: 95.42 kB / 462 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.2584, allocations: 4 kB / 462 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.2587, allocations: 23.92 kB / 462.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2587, allocations: 19.95 kB / 462.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008286/0.2596, allocations: 365.7 kB / 462.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009203/0.2605, allocations: 0.5941 MB / 463 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002321/0.2607, allocations: 92 kB / 463.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006343/0.2614, allocations: 467 kB / 463.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.2614, allocations: 0 / 463.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2626, allocations: 493.7 kB / 464.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of SimCode: time 0.002896/0.2654, allocations: 2.007 MB / 466.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of Templates: time 0.01938/0.2848, allocations: 10.52 MB / 476.6 MB, free: 9.66 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.974550496997836]