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.001217/0.001217, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001345/0.001345, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 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.9779/0.9779, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.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.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.606e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002478/0.002494, allocations: 2.323 MB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004056, allocations: 1.223 MB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004165, allocations: 4 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.004465, allocations: 91.45 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.004809, allocations: 170.9 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.005036, allocations: 103.6 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005294, allocations: 314.5 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.005437, allocations: 66.73 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005607, allocations: 159.6 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.005751, allocations: 99.75 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.005777, allocations: 23.94 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.005891, allocations: 51.92 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.005945, allocations: 59.83 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.006011, allocations: 83.77 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.006244, allocations: 223.1 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.006245, allocations: 0 / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006246, allocations: 0 / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.00625, allocations: 0 / 278.4 MB, free: 12.21 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.0004584/0.006709, allocations: 467.8 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.006737, allocations: 15.98 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.006851, allocations: 44.83 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.007024, allocations: 177.3 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.007041, allocations: 12.38 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.007063, allocations: 12.38 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.007215, allocations: 129.7 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.007225, allocations: 192 / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.007238, allocations: 12.36 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.007246, allocations: 11.88 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.007331, allocations: 59.47 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.007759, allocations: 353.3 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.007891, allocations: 153.2 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.007936, allocations: 40.83 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.007949, allocations: 4 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.008054, allocations: 97.25 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.008055, allocations: 0 / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001667/0.008222, allocations: 133.8 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.008248, allocations: 55.41 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.00837, allocations: 213.1 kB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.008389, allocations: 33.7 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.008444, allocations: 132.8 kB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.008489, allocations: 71.41 kB / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.008538, allocations: 45.69 kB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.008638, allocations: 334.8 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.00867, allocations: 22.81 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.008718, allocations: 55.34 kB / 281 MB, free: 9.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.251e-05/0.00881, allocations: 100.9 kB / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008812, allocations: 0 / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001243/0.008937, allocations: 127.7 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.008947, allocations: 4 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008952, allocations: 4 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.008962, allocations: 3.938 kB / 281.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.00912, allocations: 56.06 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.009125, allocations: 7.938 kB / 281.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.00917, allocations: 19.84 kB / 281.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.009179, allocations: 4 kB / 281.3 MB, free: 9.07 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 7.128e-05/0.00925, allocations: 124.7 kB / 281.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.009269, allocations: 15.98 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.009404, allocations: 127.3 kB / 281.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.009407, allocations: 7.938 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.009408, allocations: 0 / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.009413, allocations: 3.984 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.009541, allocations: 149.6 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.009543, allocations: 3.984 kB / 281.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.009658, allocations: 43.97 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.00966, allocations: 0 / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.009671, allocations: 4 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.009674, allocations: 11.92 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009675, allocations: 0 / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.00985, allocations: 175.5 kB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.009869, allocations: 19.86 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009887, allocations: 4 kB / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.009922, allocations: 16.02 kB / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.009951, allocations: 7.984 kB / 282 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.009964, allocations: 11.98 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.01002, allocations: 78 kB / 282.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 282.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.01017, allocations: 63.86 kB / 282.2 MB, free: 8.164 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.0009911/0.01117, allocations: 0.4972 MB / 282.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.0113, allocations: 95.89 kB / 282.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.0113, allocations: 0 / 282.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.01135, allocations: 56.75 kB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.01152, allocations: 56.58 kB / 282.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.01217, allocations: 454.6 kB / 283.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.01221, allocations: 87.97 kB / 283.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.01228, allocations: 25.94 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.01237, allocations: 91.34 kB / 283.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01237, allocations: 0 / 283.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of Templates: time 0.004494/0.01687, allocations: 2.999 MB / 286.5 MB, free: 4 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55063264304772]