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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1440000,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=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001778, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.84 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003142/0.2388, allocations: 2.246 MB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2407, allocations: 1.224 MB / 412.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.2408, allocations: 7.938 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.2411, allocations: 87.56 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.2415, allocations: 163 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2418, allocations: 123.6 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.2421, allocations: 294.8 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2423, allocations: 92.56 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2425, allocations: 115.6 kB / 413.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.2426, allocations: 123.5 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2427, allocations: 16 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.2428, allocations: 55.97 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.2429, allocations: 51.78 kB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.243, allocations: 131.4 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.2433, allocations: 292.1 kB / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.654e-06/0.2433, allocations: 0 / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2433, allocations: 0 / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2433, allocations: 0 / 414.2 MB, free: 12.61 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.0007401/0.2441, allocations: 0.5495 MB / 414.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2441, allocations: 15.97 kB / 414.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2443, allocations: 36.56 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2446, allocations: 259.7 kB / 415.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2446, allocations: 12.38 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2446, allocations: 24.12 kB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.245, allocations: 153.6 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.245, allocations: 3.906 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.245, allocations: 11.98 kB / 415.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.245, allocations: 4 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.2453, allocations: 119.7 kB / 415.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.2461, allocations: 0.5623 MB / 416 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2464, allocations: 158.5 kB / 416.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2466, allocations: 92.81 kB / 416.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2466, allocations: 3.984 kB / 416.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2468, allocations: 117.7 kB / 416.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.2468, allocations: 0 / 416.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004786/0.2473, allocations: 229.7 kB / 416.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2474, allocations: 51.41 kB / 416.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2476, allocations: 264.9 kB / 416.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2477, allocations: 33.7 kB / 416.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.2478, allocations: 140.4 kB / 417 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2478, allocations: 70.95 kB / 417.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.2479, allocations: 41.7 kB / 417.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.248, allocations: 338.8 kB / 417.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2481, allocations: 55.91 kB / 417.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2483, allocations: 91.34 kB / 417.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.2485, allocations: 146.7 kB / 417.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2485, allocations: 0 / 417.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003316/0.2489, allocations: 201.2 kB / 417.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2489, allocations: 16.08 kB / 418 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2489, allocations: 0 / 418 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2489, allocations: 0 / 418 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2491, allocations: 47.92 kB / 418 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2492, allocations: 7.922 kB / 418 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2493, allocations: 15.84 kB / 418 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2493, allocations: 12 kB / 418 MB, free: 8.527 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.0001183/0.2494, allocations: 149.6 kB / 418.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.2494, allocations: 23.72 kB / 418.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.2495, allocations: 34.17 kB / 418.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2495, allocations: 4 kB / 418.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2495, allocations: 3.938 kB / 418.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2496, allocations: 3.984 kB / 418.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.2498, allocations: 285.4 kB / 418.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2498, allocations: 0 / 418.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.25, allocations: 35.97 kB / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.25, allocations: 0 / 418.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.25, allocations: 8 kB / 418.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.25, allocations: 4 kB / 418.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2501, allocations: 3.938 kB / 418.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.2505, allocations: 286.9 kB / 418.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.2506, allocations: 104.8 kB / 419 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2506, allocations: 0 / 419 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.2507, allocations: 19.86 kB / 419 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.2508, allocations: 7.984 kB / 419 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2508, allocations: 12 kB / 419 MB, free: 7.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.251, allocations: 196.5 kB / 419.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.274e-06/0.251, allocations: 0 / 419.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.2512, allocations: 55.94 kB / 419.3 MB, free: 7.219 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.nextTimeEventScaled,lossTable.nextTimeEvent) * 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.0008606/0.2521, allocations: 408 kB / 419.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.2524, allocations: 139.5 kB / 419.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2524, allocations: 0 / 419.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2526, allocations: 72.09 kB / 419.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2529, allocations: 52.41 kB / 419.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.2538, allocations: 0.539 MB / 420.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2541, allocations: 0.7559 MB / 421.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.2542, allocations: 29.94 kB / 421.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.2543, allocations: 27.42 kB / 421.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2543, allocations: 0 / 421.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of Templates: time 0.005894/0.2602, allocations: 2.715 MB / 424 MB, free: 2.605 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches