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.001133/0.001133, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009822/0.0009822, allocations: 158.4 kB / 25.61 MB, free: 8.887 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.9371/0.9371, allocations: 177 MB / 205.9 MB, free: 4.449 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.784e-06/1.784e-06, allocations: 0 / 274.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.39e-05, allocations: 5.562 kB / 274.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003064/0.003088, allocations: 2.275 MB / 276.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004504, allocations: 1.192 MB / 277.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.0046, allocations: 4 kB / 277.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.004911, allocations: 95.94 kB / 277.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.005253, allocations: 174 kB / 277.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.005501, allocations: 119.5 kB / 277.9 MB, free: 484 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.00577, allocations: 298.7 kB / 278.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.005941, allocations: 72.7 kB / 278.3 MB, free: 108 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.00611, allocations: 159.7 kB / 278.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.006267, allocations: 107.7 kB / 278.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.006295, allocations: 20 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006404, allocations: 55.91 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.006471, allocations: 59.77 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.006544, allocations: 75.83 kB / 278.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.00681, allocations: 219.2 kB / 279 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006811, allocations: 0 / 279 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006813, allocations: 0 / 279 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.006817, allocations: 4 kB / 279 MB, free: 15.42 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.0005614/0.007379, allocations: 0.5856 MB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.00741, allocations: 15.95 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.007535, allocations: 48.69 kB / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.00773, allocations: 196.1 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.007749, allocations: 8.375 kB / 279.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.007776, allocations: 20.38 kB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.007938, allocations: 130.6 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007949, allocations: 4.172 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.007965, allocations: 12.38 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.007971, allocations: 7.938 kB / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.008062, allocations: 55.72 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.008595, allocations: 471.7 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.008738, allocations: 115 kB / 280.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.008792, allocations: 51.66 kB / 280.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.008808, allocations: 11.94 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.008925, allocations: 107.1 kB / 280.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.008926, allocations: 0 / 280.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002372/0.009163, allocations: 168 kB / 281 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.009194, allocations: 55.41 kB / 281 MB, free: 13.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.009351, allocations: 274.6 kB / 281.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.009368, allocations: 29.7 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.009457, allocations: 195.1 kB / 281.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.009502, allocations: 75.36 kB / 281.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.009552, allocations: 51.34 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.009672, allocations: 0.5079 MB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.009705, allocations: 19.98 kB / 282.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.009759, allocations: 68.45 kB / 282.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.009864, allocations: 118 kB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.009866, allocations: 0 / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001517/0.01002, allocations: 153.3 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01003, allocations: 4.094 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01004, allocations: 8 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.01004, allocations: 0 / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01019, allocations: 47.91 kB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01019, allocations: 4 kB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.01024, allocations: 15.89 kB / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01025, allocations: 8 kB / 282.6 MB, free: 11.6 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 8.16e-05/0.01034, allocations: 164.5 kB / 282.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.01037, allocations: 39.78 kB / 282.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.01055, allocations: 155.4 kB / 282.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01055, allocations: 4 kB / 282.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01056, allocations: 0 / 282.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01056, allocations: 0 / 282.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.0107, allocations: 185 kB / 283.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0107, allocations: 0 / 283.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.0108, allocations: 39.97 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.0108, allocations: 0 / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01082, allocations: 11.94 kB / 283.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01082, allocations: 0 / 283.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01082, allocations: 0 / 283.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.01104, allocations: 226.9 kB / 283.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01106, allocations: 23.83 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.01108, allocations: 8 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.01111, allocations: 8 kB / 283.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.01114, allocations: 11.97 kB / 283.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01116, allocations: 11.98 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.01124, allocations: 193.5 kB / 283.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01124, allocations: 0 / 283.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.01142, allocations: 63.83 kB / 283.7 MB, free: 10.41 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.0007836/0.0122, allocations: 393.4 kB / 284.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.01234, allocations: 95.5 kB / 284.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01234, allocations: 0 / 284.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.01241, allocations: 67.14 kB / 284.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01262, allocations: 51.53 kB / 284.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.01333, allocations: 470.4 kB / 284.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.859e-05/0.01337, allocations: 91.88 kB / 284.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.01344, allocations: 25.95 kB / 284.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.01354, allocations: 114.2 kB / 285 MB, free: 9.195 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01354, allocations: 0 / 285 MB, free: 9.195 MB / 266.7 MB Notification: Performance of Templates: time 0.004824/0.01836, allocations: 2.967 MB / 287.9 MB, free: 6.285 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 -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.860291800927371]