Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001425/0.001425, allocations: 92.31 kB / 21.73 MB, free: 2.684 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.001473/0.001473, allocations: 157.2 kB / 25.02 MB, free: 8.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.762e-05, allocations: 5.969 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003769/0.003796, allocations: 2.128 MB / 252.5 MB, free: 5.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.005613, allocations: 0.9284 MB / 253.4 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.005715, allocations: 4 kB / 253.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.006091, allocations: 103.4 kB / 253.5 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.006439, allocations: 123.2 kB / 253.6 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.006785, allocations: 127.5 kB / 253.7 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.00716, allocations: 294.6 kB / 254 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.00734, allocations: 64.77 kB / 254.1 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.007577, allocations: 155.7 kB / 254.3 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.007767, allocations: 107.7 kB / 254.4 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.007805, allocations: 16 kB / 254.4 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.007936, allocations: 51.98 kB / 254.4 MB, free: 3.746 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.008027, allocations: 55.77 kB / 254.5 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.008376, allocations: 79.7 kB / 254.6 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.008787, allocations: 291 kB / 254.8 MB, free: 3.328 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.008791, allocations: 0 / 254.8 MB, free: 3.328 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008792, allocations: 4 kB / 254.8 MB, free: 3.324 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.008798, allocations: 0 / 254.8 MB, free: 3.324 MB / 234.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.000868/0.009666, allocations: 489.3 kB / 255.3 MB, free: 2.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.009706, allocations: 15.97 kB / 255.3 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.009897, allocations: 48.69 kB / 255.4 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.01026, allocations: 186.4 kB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.01029, allocations: 12.38 kB / 255.6 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.01034, allocations: 20.38 kB / 255.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.01071, allocations: 169.7 kB / 255.8 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01072, allocations: 3.938 kB / 255.8 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.01075, allocations: 8 kB / 255.8 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01076, allocations: 7.984 kB / 255.8 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.01103, allocations: 115.9 kB / 255.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.01194, allocations: 467.9 kB / 256.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.01231, allocations: 166.3 kB / 256.5 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.01248, allocations: 84.78 kB / 256.6 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01251, allocations: 3.984 kB / 256.6 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.01276, allocations: 115.4 kB / 256.7 MB, free: 1.328 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.01276, allocations: 0 / 256.7 MB, free: 1.328 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.000625/0.01339, allocations: 245.8 kB / 257 MB, free: 1.082 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.01344, allocations: 63.28 kB / 257 MB, free: 1.008 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.01375, allocations: 243.2 kB / 257.3 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.01378, allocations: 29.7 kB / 257.3 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01392, allocations: 152.3 kB / 257.4 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.01399, allocations: 71.42 kB / 257.5 MB, free: 0.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.01407, allocations: 45.7 kB / 257.5 MB, free: 460 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.01427, allocations: 330.8 kB / 257.9 MB, free: 120 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.0144, allocations: 51.97 kB / 257.9 MB, free: 68 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.01458, allocations: 87.34 kB / 258 MB, free: 15.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.01488, allocations: 159.2 kB / 258.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01488, allocations: 0 / 258.2 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004273/0.01531, allocations: 217.4 kB / 258.4 MB, free: 15.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.01533, allocations: 8 kB / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01533, allocations: 0 / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.01536, allocations: 7.984 kB / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.01559, allocations: 47.92 kB / 258.4 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.0156, allocations: 0 / 258.4 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.01569, allocations: 15.89 kB / 258.5 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.01571, allocations: 8 kB / 258.5 MB, free: 15.5 MB / 250.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.0001741/0.01589, allocations: 149.7 kB / 258.6 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.01594, allocations: 31.95 kB / 258.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.01641, allocations: 223.3 kB / 258.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01642, allocations: 4 kB / 258.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01642, allocations: 0 / 258.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01643, allocations: 0 / 258.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.0167, allocations: 209.1 kB / 259.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0167, allocations: 4 kB / 259.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.01689, allocations: 35.98 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.0169, allocations: 4 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01691, allocations: 0 / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01692, allocations: 4 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01692, allocations: 0 / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.01752, allocations: 320.6 kB / 259.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.01756, allocations: 23.81 kB / 259.4 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.01759, allocations: 8 kB / 259.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.01767, allocations: 4 kB / 259.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.01773, allocations: 19.91 kB / 259.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.01775, allocations: 8 kB / 259.5 MB, free: 14.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.01794, allocations: 184.6 kB / 259.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01794, allocations: 0 / 259.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01824, allocations: 63.94 kB / 259.7 MB, free: 14.16 MB / 250.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.00199/0.02023, allocations: 453.3 kB / 260.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.02058, allocations: 148.3 kB / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02058, allocations: 0 / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.02074, allocations: 71.91 kB / 260.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.0211, allocations: 43.91 kB / 260.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02211, allocations: 0.504 MB / 260.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.02227, allocations: 136.8 kB / 261.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.02237, allocations: 37.59 kB / 261.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.02244, allocations: 20.5 kB / 261.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02244, allocations: 0 / 261.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of Templates: time 0.007244/0.02968, allocations: 2.634 MB / 263.8 MB, free: 10.14 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.464362300932407]