Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2613, allocations: 52.16 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003723/0.2651, allocations: 2.261 MB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2671, allocations: 1.103 MB / 424.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2672, allocations: 4 kB / 424.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.2677, allocations: 95.5 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.2681, allocations: 123.3 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2685, allocations: 151.5 kB / 424.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.2689, allocations: 278.9 kB / 424.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.2691, allocations: 72.53 kB / 424.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2693, allocations: 107.6 kB / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.2695, allocations: 123.5 kB / 425.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.2696, allocations: 20 kB / 425.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.2697, allocations: 51.97 kB / 425.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.2698, allocations: 55.83 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.27, allocations: 119.3 kB / 425.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.2704, allocations: 288.1 kB / 425.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.2704, allocations: 3.984 kB / 425.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2704, allocations: 0 / 425.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.2704, allocations: 4 kB / 425.7 MB, free: 10.27 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.0009685/0.2714, allocations: 0.5532 MB / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2715, allocations: 12.03 kB / 426.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2716, allocations: 32.75 kB / 426.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.272, allocations: 248.9 kB / 426.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.272, allocations: 16.36 kB / 426.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.2721, allocations: 24.12 kB / 426.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.2724, allocations: 161.3 kB / 426.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2724, allocations: 3.953 kB / 426.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2724, allocations: 8 kB / 426.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2724, allocations: 8 kB / 426.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.2727, allocations: 115.9 kB / 426.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.2736, allocations: 0.5625 MB / 427.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.274, allocations: 158.5 kB / 427.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2742, allocations: 76.83 kB / 427.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.2742, allocations: 0 / 427.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.2746, allocations: 123.6 kB / 427.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.684e-06/0.2746, allocations: 0 / 427.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005926/0.2752, allocations: 229.5 kB / 428 MB, free: 7.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.2752, allocations: 55.36 kB / 428 MB, free: 7.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.2755, allocations: 249 kB / 428.3 MB, free: 7.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2755, allocations: 33.7 kB / 428.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.2757, allocations: 148.4 kB / 428.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.2757, allocations: 75.41 kB / 428.5 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.2758, allocations: 33.72 kB / 428.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.276, allocations: 338.8 kB / 428.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2761, allocations: 55.97 kB / 429 MB, free: 6.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.2763, allocations: 87.34 kB / 429 MB, free: 6.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2766, allocations: 146.7 kB / 429.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2766, allocations: 4 kB / 429.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003703/0.2769, allocations: 209.3 kB / 429.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.277, allocations: 7.75 kB / 429.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.277, allocations: 0 / 429.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.277, allocations: 4 kB / 429.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2772, allocations: 43.92 kB / 429.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2772, allocations: 7.938 kB / 429.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2773, allocations: 23.83 kB / 429.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2773, allocations: 4 kB / 429.5 MB, free: 6.223 MB / 334.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.2775, allocations: 146.3 kB / 429.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2775, allocations: 27.84 kB / 429.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.2779, allocations: 198.5 kB / 429.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.278, allocations: 7.938 kB / 429.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.278, allocations: 0 / 429.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.278, allocations: 3.984 kB / 429.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2783, allocations: 281.5 kB / 430.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2783, allocations: 4 kB / 430.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2785, allocations: 35.92 kB / 430.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2785, allocations: 0 / 430.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2785, allocations: 8 kB / 430.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2785, allocations: 11.88 kB / 430.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2785, allocations: 0 / 430.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.279, allocations: 280.9 kB / 430.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.2791, allocations: 93 kB / 430.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2791, allocations: 11.94 kB / 430.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.2792, allocations: 0 / 430.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.2792, allocations: 24.03 kB / 430.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2793, allocations: 8 kB / 430.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.2794, allocations: 184.5 kB / 430.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2794, allocations: 4 kB / 430.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.2797, allocations: 67.77 kB / 430.9 MB, free: 4.75 MB / 334.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 (20): * Single equations (assignments): 18 * 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.001511/0.2812, allocations: 405.4 kB / 431.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.2816, allocations: 134.9 kB / 431.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2816, allocations: 4.062 kB / 431.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2817, allocations: 67.91 kB / 431.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2821, allocations: 57.38 kB / 431.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2831, allocations: 0.5397 MB / 432 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2835, allocations: 0.748 MB / 432.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.2836, allocations: 29.92 kB / 432.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.2836, allocations: 23.44 kB / 432.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2836, allocations: 0 / 432.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of Templates: time 0.006847/0.2905, allocations: 2.764 MB / 435.6 MB, free: 128 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.192896354012191]