Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001846/0.001846, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002191/0.002191, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 68.03 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2189, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003793/0.2227, allocations: 2.286 MB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2249, allocations: 1.247 MB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.225, allocations: 4 kB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.2253, allocations: 91.5 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.2258, allocations: 159.1 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.2261, allocations: 119.6 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.2265, allocations: 294.8 kB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2267, allocations: 65.09 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2268, allocations: 119.5 kB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.227, allocations: 139.4 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.2271, allocations: 16 kB / 436.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2272, allocations: 51.98 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.2273, allocations: 51.83 kB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2274, allocations: 123.3 kB / 436.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.2278, allocations: 288.4 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2278, allocations: 0 / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2278, allocations: 3.938 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2278, allocations: 0 / 437.1 MB, free: 2.328 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.0008563/0.2287, allocations: 0.5609 MB / 437.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2287, allocations: 8.031 kB / 437.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.2288, allocations: 36.69 kB / 437.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2292, allocations: 267.8 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2292, allocations: 12.38 kB / 437.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2293, allocations: 24.12 kB / 438 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2296, allocations: 157.5 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2296, allocations: 0 / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.2296, allocations: 11.98 kB / 438.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2296, allocations: 4 kB / 438.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.2299, allocations: 115.7 kB / 438.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.2309, allocations: 0.5742 MB / 438.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.2312, allocations: 154.5 kB / 439 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2314, allocations: 80.83 kB / 439 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2314, allocations: 4.344 kB / 439.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.2316, allocations: 114.4 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 5.41e-06/0.2316, allocations: 3.984 kB / 439.2 MB, free: 56 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005359/0.2322, allocations: 237.5 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2322, allocations: 51.41 kB / 439.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2325, allocations: 265 kB / 439.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2325, allocations: 29.7 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2326, allocations: 144.5 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.2327, allocations: 71.34 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.2328, allocations: 49.66 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2329, allocations: 338.8 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.233, allocations: 51.97 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2332, allocations: 83.41 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.2335, allocations: 146.5 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2335, allocations: 0 / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004349/0.2339, allocations: 209.3 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2339, allocations: 8 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2339, allocations: 0 / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2339, allocations: 4 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.2342, allocations: 39.98 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2342, allocations: 7.969 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2344, allocations: 27.83 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2344, allocations: 4 kB / 440.9 MB, free: 14.25 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.000141/0.2345, allocations: 141.8 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.2346, allocations: 23.86 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.235, allocations: 205.6 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.235, allocations: 0 / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.235, allocations: 7.938 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.2351, allocations: 108.9 kB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.2352, allocations: 8 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.2353, allocations: 7.938 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2353, allocations: 15.92 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005143/0.2358, allocations: 268.8 kB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005825/0.2364, allocations: 441.8 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001268/0.2365, allocations: 64.02 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.2367, allocations: 192.5 kB / 442.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Backend: time 3.2e-07/0.2367, allocations: 0 / 442.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.2387, allocations: 476.1 kB / 442.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 0.001208/0.2399, allocations: 0.9987 MB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Templates: time 0.007713/0.2476, allocations: 3.112 MB / 446.9 MB, free: 8.309 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.188019037246704]