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.001277/0.001277, allocations: 111 kB / 21.18 MB, free: 0.6719 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.001363/0.001363, allocations: 209 kB / 24.48 MB, free: 3.969 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001528/0.001528, allocations: 47.92 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003519/0.232, allocations: 2.151 MB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2341, allocations: 1.169 MB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2342, allocations: 3.938 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.2345, allocations: 95.5 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.2349, allocations: 159.1 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2352, allocations: 123.5 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.2355, allocations: 298.7 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2357, allocations: 72.44 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.2359, allocations: 119.6 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2361, allocations: 127.5 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2361, allocations: 20 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2362, allocations: 51.92 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2363, allocations: 63.77 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2364, allocations: 91.53 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.2368, allocations: 297.8 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2368, allocations: 3.938 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2368, allocations: 0 / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2368, allocations: 0 / 437.1 MB, free: 1.898 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.0008487/0.2377, allocations: 497.2 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2377, allocations: 8.031 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2379, allocations: 32.75 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2382, allocations: 209.9 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2382, allocations: 8.375 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.2382, allocations: 20.12 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2386, allocations: 165.6 kB / 438 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2386, allocations: 0 / 438 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.2386, allocations: 4 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2386, allocations: 4 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.2389, allocations: 131.6 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.2398, allocations: 471.8 kB / 438.6 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2401, allocations: 166.4 kB / 438.8 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2403, allocations: 80.83 kB / 438.9 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2403, allocations: 4 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.2405, allocations: 122.2 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.2405, allocations: 0 / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005328/0.2411, allocations: 229.5 kB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2411, allocations: 59.34 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.2414, allocations: 260.1 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.2414, allocations: 33.7 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2415, allocations: 148.3 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.2416, allocations: 83.31 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.2417, allocations: 41.7 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2418, allocations: 334.8 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.242, allocations: 55.97 kB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2421, allocations: 83.41 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2424, allocations: 153.8 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2424, allocations: 0 / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003825/0.2428, allocations: 216.2 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2428, allocations: 4 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2428, allocations: 4 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2428, allocations: 0 / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.243, allocations: 43.92 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2431, allocations: 4 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2432, allocations: 23.83 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2432, allocations: 7.984 kB / 440.8 MB, free: 14.07 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.0001424/0.2433, allocations: 145.8 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.2434, allocations: 23.95 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.2438, allocations: 215.3 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2438, allocations: 4 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2438, allocations: 3.938 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2438, allocations: 0 / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.2441, allocations: 217.1 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2441, allocations: 3.938 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2443, allocations: 31.98 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2443, allocations: 4 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.2443, allocations: 4 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2443, allocations: 4 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2443, allocations: 4 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.2448, allocations: 310.2 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.2449, allocations: 27.83 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2449, allocations: 0 / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.245, allocations: 8 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2451, allocations: 15.91 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.2451, allocations: 8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2453, allocations: 193.6 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2453, allocations: 0 / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.2456, allocations: 67.95 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.2472, allocations: 451.6 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2475, allocations: 139.9 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2475, allocations: 0 / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2477, allocations: 82.03 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.248, allocations: 44.81 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.249, allocations: 0.5601 MB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.2491, allocations: 149.7 kB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.2492, allocations: 21.95 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.2493, allocations: 23.42 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2493, allocations: 0 / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Templates: time 0.006763/0.2561, allocations: 2.972 MB / 446.4 MB, free: 8.508 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 -s gbode -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: 7.8880454799946165]