Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 115.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 206.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 359.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 50.54 MB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003587/0.2567, allocations: 2.265 MB / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2587, allocations: 1.227 MB / 413.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2589, allocations: 4 kB / 413.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.2592, allocations: 91.5 kB / 413.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.2596, allocations: 167 kB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2599, allocations: 111.6 kB / 414 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.2602, allocations: 298.8 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2604, allocations: 72.58 kB / 414.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2606, allocations: 111.6 kB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2608, allocations: 135.4 kB / 414.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.2608, allocations: 16 kB / 414.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2609, allocations: 51.98 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.261, allocations: 51.83 kB / 414.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.2611, allocations: 119.3 kB / 414.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.2615, allocations: 290.6 kB / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2615, allocations: 4 kB / 415.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2615, allocations: 4 kB / 415.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2615, allocations: 0 / 415.2 MB, free: 12.49 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.0008547/0.2624, allocations: 0.5569 MB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2624, allocations: 8.031 kB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2626, allocations: 36.73 kB / 415.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.263, allocations: 263.8 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.263, allocations: 16.36 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2631, allocations: 20.12 kB / 416.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.2634, allocations: 153.6 kB / 416.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2634, allocations: 0 / 416.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2634, allocations: 11.94 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2634, allocations: 4 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.2637, allocations: 123.6 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.2646, allocations: 0.5626 MB / 416.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.2649, allocations: 150.5 kB / 417.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2651, allocations: 91.59 kB / 417.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2651, allocations: 7.969 kB / 417.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.2653, allocations: 115.3 kB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.2653, allocations: 0 / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005065/0.2658, allocations: 237.4 kB / 417.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2659, allocations: 51.41 kB / 417.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.2661, allocations: 265 kB / 417.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2662, allocations: 29.7 kB / 417.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2663, allocations: 144.5 kB / 418 MB, free: 9.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.2663, allocations: 75.38 kB / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.2664, allocations: 45.66 kB / 418.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2666, allocations: 334.8 kB / 418.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2667, allocations: 51.98 kB / 418.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2669, allocations: 87.39 kB / 418.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.2671, allocations: 147.9 kB / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2671, allocations: 0 / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003392/0.2674, allocations: 201.4 kB / 418.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2675, allocations: 8 kB / 418.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2675, allocations: 0 / 418.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2675, allocations: 7.922 kB / 418.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2677, allocations: 48.08 kB / 419 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2677, allocations: 3.938 kB / 419 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.2678, allocations: 15.89 kB / 419 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2678, allocations: 8 kB / 419 MB, free: 8.418 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.000151/0.268, allocations: 149.7 kB / 419.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.268, allocations: 23.86 kB / 419.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.2681, allocations: 30.17 kB / 419.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2681, allocations: 0 / 419.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2681, allocations: 7.938 kB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2681, allocations: 0 / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.2684, allocations: 293.4 kB / 419.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2684, allocations: 4 kB / 419.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.2686, allocations: 39.92 kB / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2686, allocations: 0 / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2686, allocations: 4 kB / 419.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2686, allocations: 0 / 419.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2686, allocations: 7.875 kB / 419.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.2691, allocations: 291.4 kB / 419.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2692, allocations: 93.05 kB / 419.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.2692, allocations: 7.938 kB / 419.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.2693, allocations: 11.94 kB / 419.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.2694, allocations: 19.86 kB / 420 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.2694, allocations: 8 kB / 420 MB, free: 7.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.2696, allocations: 192.5 kB / 420.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2696, allocations: 0 / 420.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.2699, allocations: 59.92 kB / 420.2 MB, free: 7.105 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.001442/0.2713, allocations: 413.3 kB / 420.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.2716, allocations: 131.8 kB / 420.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2716, allocations: 0 / 420.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2718, allocations: 71.84 kB / 420.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2721, allocations: 51.84 kB / 420.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2731, allocations: 0.5358 MB / 421.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.2735, allocations: 0.7518 MB / 422.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.2736, allocations: 25.94 kB / 422.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.2737, allocations: 27.38 kB / 422.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2737, allocations: 4 kB / 422.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of Templates: time 0.006952/0.2806, allocations: 2.744 MB / 424.9 MB, free: 2.496 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches