Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001832/0.001832, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002254/0.002254, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2183, allocations: 53.38 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003562/0.2218, allocations: 2.15 MB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2238, allocations: 1.165 MB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.2239, allocations: 7.938 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.2242, allocations: 91.5 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.2246, allocations: 163.1 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.2249, allocations: 123.6 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.2252, allocations: 298.7 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2254, allocations: 64.78 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.2256, allocations: 119.5 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2258, allocations: 135.5 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2258, allocations: 16 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2259, allocations: 51.94 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.226, allocations: 63.75 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2261, allocations: 95.53 kB / 436.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.2265, allocations: 292.5 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2265, allocations: 7.938 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2265, allocations: 0 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2265, allocations: 0 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008152/0.2273, allocations: 0.4894 MB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2274, allocations: 8.031 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2275, allocations: 36.69 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.2278, allocations: 206 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2278, allocations: 12.38 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.2279, allocations: 16.12 kB / 437.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2282, allocations: 161.6 kB / 438.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2282, allocations: 0 / 438.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2283, allocations: 8 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2283, allocations: 8 kB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2286, allocations: 127.7 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008377/0.2294, allocations: 471.8 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.2297, allocations: 162.5 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2299, allocations: 80.83 kB / 438.9 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2299, allocations: 0 / 438.9 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.2302, allocations: 122.2 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.2302, allocations: 8 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005237/0.2307, allocations: 229.5 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2307, allocations: 55.34 kB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.231, allocations: 260.1 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.231, allocations: 33.7 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2311, allocations: 148.3 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.2312, allocations: 75.38 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.2313, allocations: 41.7 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2314, allocations: 342.7 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2316, allocations: 51.97 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2317, allocations: 87.41 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.232, allocations: 151.3 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.232, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003812/0.2324, allocations: 212.2 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2324, allocations: 4 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2324, allocations: 4 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2324, allocations: 4.094 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.2326, allocations: 43.92 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2326, allocations: 4 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2327, allocations: 19.83 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2328, allocations: 11.98 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.2329, allocations: 141.8 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.2329, allocations: 19.86 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.2334, allocations: 215.3 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2334, allocations: 4 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2334, allocations: 0 / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.2334, allocations: 31.72 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.2335, allocations: 11.94 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.2336, allocations: 11.92 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.2336, allocations: 11.98 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005413/0.2341, allocations: 286.3 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006104/0.2348, allocations: 462.1 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/0.2349, allocations: 64 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.2351, allocations: 197.6 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Backend: time 2e-07/0.2351, allocations: 4.062 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.2372, allocations: 0.5051 MB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 0.001146/0.2383, allocations: 0.9945 MB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.007459/0.2458, allocations: 3.41 MB / 447.1 MB, free: 7.898 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.342193443000724]