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.001416/0.001416, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001625/0.001625, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.562e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003923/0.003949, allocations: 2.155 MB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.006317, allocations: 1.181 MB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.006432, allocations: 4 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.006818, allocations: 91.5 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.007289, allocations: 170.9 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.007599, allocations: 115.5 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.008124, allocations: 306.5 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.008318, allocations: 68.77 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.008552, allocations: 159.7 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.008755, allocations: 103.7 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.008798, allocations: 20 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.00895, allocations: 59.84 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.009042, allocations: 55.83 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.009174, allocations: 79.77 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.009619, allocations: 299 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.009623, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009625, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009631, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 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.0009696/0.0106, allocations: 493.3 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.01064, allocations: 8.031 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.01085, allocations: 48.69 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.01125, allocations: 201.2 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.01128, allocations: 12.38 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.01132, allocations: 20.38 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.01169, allocations: 161.9 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.01171, allocations: 11.88 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01173, allocations: 8 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.01174, allocations: 4 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.01203, allocations: 119.9 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.01293, allocations: 463.9 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.01331, allocations: 162.4 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.01348, allocations: 80.83 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01351, allocations: 4 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.01377, allocations: 119.6 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/0.01377, allocations: 0 / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006098/0.01438, allocations: 248.5 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.01444, allocations: 59.39 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.01475, allocations: 256.1 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.01478, allocations: 29.7 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.0149, allocations: 144.4 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.015, allocations: 83.36 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.01507, allocations: 37.72 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01527, allocations: 338.8 kB / 280.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.0154, allocations: 51.97 kB / 280.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.01556, allocations: 84.06 kB / 280.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.01586, allocations: 158.7 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01586, allocations: 0 / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004253/0.01629, allocations: 225.3 kB / 280.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.0163, allocations: 4 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01631, allocations: 4 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01633, allocations: 0 / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.01656, allocations: 43.98 kB / 280.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01657, allocations: 4 kB / 280.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01668, allocations: 19.88 kB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01669, allocations: 15.88 kB / 280.8 MB, free: 9.137 MB / 266.7 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.0001587/0.01685, allocations: 145.7 kB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.01691, allocations: 27.94 kB / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.01738, allocations: 223.3 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01738, allocations: 4 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01739, allocations: 0 / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01739, allocations: 0 / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.01768, allocations: 209.1 kB / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01768, allocations: 0 / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.01789, allocations: 35.98 kB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.0179, allocations: 7.984 kB / 281.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.01792, allocations: 3.984 kB / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.01792, allocations: 4 kB / 281.4 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01792, allocations: 4 kB / 281.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/0.01853, allocations: 315.7 kB / 281.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.01857, allocations: 23.83 kB / 281.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.01861, allocations: 4 kB / 281.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.01869, allocations: 11.98 kB / 281.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01875, allocations: 7.984 kB / 281.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.01877, allocations: 8 kB / 281.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.01899, allocations: 193.6 kB / 282 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01899, allocations: 0 / 282 MB, free: 7.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.01929, allocations: 63.89 kB / 282 MB, free: 7.805 MB / 266.7 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.001945/0.02124, allocations: 454.8 kB / 282.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.02158, allocations: 139.8 kB / 282.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02159, allocations: 0 / 282.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.02175, allocations: 75.91 kB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.0221, allocations: 44.64 kB / 282.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02312, allocations: 0.5159 MB / 283.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.02327, allocations: 137.8 kB / 283.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02338, allocations: 33.92 kB / 283.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.02344, allocations: 24.5 kB / 283.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02345, allocations: 0 / 283.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of Templates: time 0.007065/0.03051, allocations: 2.661 MB / 286.1 MB, free: 3.91 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/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.445975236943923]