Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009674/0.0009674, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002194, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.000961/0.000961, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001973, allocations: 479.6 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9723/0.9723, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08093/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.384e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002228/0.002241, allocations: 2.327 MB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003658, allocations: 1.234 MB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.00376, allocations: 4 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.003983, allocations: 99.38 kB / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.004273, allocations: 166.9 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.004497, allocations: 123.4 kB / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.004767, allocations: 302.6 kB / 249.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004901, allocations: 70.73 kB / 249.5 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.005096, allocations: 188.5 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.005246, allocations: 99.7 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.005272, allocations: 24 kB / 249.8 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005384, allocations: 55.92 kB / 249.9 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.005443, allocations: 47.86 kB / 249.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.005506, allocations: 67.81 kB / 250 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.005749, allocations: 207.2 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.005759, allocations: 0 / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00576, allocations: 0 / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.005769, allocations: 0 / 250.2 MB, free: 8.574 MB / 250.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.0005602/0.006329, allocations: 0.5112 MB / 250.7 MB, free: 8.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.006359, allocations: 12.62 kB / 250.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.006503, allocations: 117.9 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.006681, allocations: 173.3 kB / 251 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.006699, allocations: 12.38 kB / 251 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.006729, allocations: 20.38 kB / 251 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.006894, allocations: 137.6 kB / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006904, allocations: 192 / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.006917, allocations: 4.375 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006925, allocations: 11.94 kB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.007006, allocations: 59.47 kB / 251.2 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.007433, allocations: 361.3 kB / 251.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.007572, allocations: 149.2 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.007618, allocations: 44.83 kB / 251.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.007635, allocations: 4 kB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.007747, allocations: 98.09 kB / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.007748, allocations: 0 / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001702/0.007918, allocations: 129.3 kB / 252 MB, free: 6.633 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.007943, allocations: 51.41 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008061, allocations: 213.1 kB / 252.3 MB, free: 6.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.00808, allocations: 33.7 kB / 252.3 MB, free: 6.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.008131, allocations: 132.8 kB / 252.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.008171, allocations: 79.39 kB / 252.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.008213, allocations: 37.69 kB / 252.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.008286, allocations: 334.8 kB / 252.9 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.008315, allocations: 22.81 kB / 252.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.00836, allocations: 59.98 kB / 252.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.008443, allocations: 104.3 kB / 253 MB, free: 5.508 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008445, allocations: 0 / 253 MB, free: 5.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001149/0.00856, allocations: 124.4 kB / 253.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.00857, allocations: 4 kB / 253.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008575, allocations: 4 kB / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.008591, allocations: 8.031 kB / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.008764, allocations: 55.91 kB / 253.2 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.00877, allocations: 7.984 kB / 253.2 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.008815, allocations: 15.89 kB / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.008823, allocations: 4 kB / 253.3 MB, free: 5.281 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 7.341e-05/0.008896, allocations: 128.5 kB / 253.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.008916, allocations: 23.97 kB / 253.4 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.009054, allocations: 127.3 kB / 253.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.009057, allocations: 4 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.009058, allocations: 7.938 kB / 253.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.009063, allocations: 3.984 kB / 253.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.00918, allocations: 137.7 kB / 253.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.009181, allocations: 0 / 253.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.009299, allocations: 51.91 kB / 253.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.009319, allocations: 23.8 kB / 253.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.00932, allocations: 0 / 253.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.009332, allocations: 8 kB / 253.8 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009333, allocations: 0 / 253.8 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009334, allocations: 3.984 kB / 253.8 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.009507, allocations: 183.7 kB / 253.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.009524, allocations: 0 / 253.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.009e-05/0.009564, allocations: 12 kB / 254 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.009592, allocations: 19.91 kB / 254 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.009604, allocations: 4 kB / 254 MB, free: 4.504 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.009661, allocations: 74.23 kB / 254.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009661, allocations: 0 / 254.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000146/0.009807, allocations: 63.89 kB / 254.1 MB, free: 4.367 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.00109/0.0109, allocations: 0.5432 MB / 254.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.01102, allocations: 96.27 kB / 254.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.01103, allocations: 4 kB / 254.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.0111, allocations: 68.75 kB / 254.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01134, allocations: 370.2 kB / 255.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.01362, allocations: 459 kB / 255.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01366, allocations: 95.81 kB / 255.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.01372, allocations: 25.94 kB / 255.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.01381, allocations: 83.36 kB / 255.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01381, allocations: 0 / 255.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of Templates: time 0.004393/0.01821, allocations: 3.078 MB / 258.9 MB, free: 15.72 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9261929504573345]