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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007358/0.0007357, allocations: 102.2 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1898, allocations: 51.3 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08949/0.2794, allocations: 81.92 MB / 491.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.2796, allocations: 79.97 kB / 491.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.2975, allocations: 6.637 MB / 498 MB, free: 2.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2976, allocations: 7.938 kB / 498 MB, free: 2.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.2976, allocations: 4 kB / 498 MB, free: 2.832 MB / 362.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.0007726/0.2984, allocations: 0.5386 MB / 498.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2984, allocations: 12.03 kB / 498.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.2986, allocations: 32.66 kB / 498.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2989, allocations: 267.7 kB / 498.9 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.299, allocations: 16.36 kB / 498.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.299, allocations: 20.38 kB / 498.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.2993, allocations: 165.9 kB / 499.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2994, allocations: 192 / 499.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2994, allocations: 11.94 kB / 499.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.2994, allocations: 8 kB / 499.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2997, allocations: 119.9 kB / 499.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.3006, allocations: 0.5817 MB / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.3009, allocations: 173.6 kB / 500 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.3011, allocations: 92.81 kB / 0.4883 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3011, allocations: 4 kB / 0.4883 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.3013, allocations: 114.9 kB / 0.4884 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.3013, allocations: 0 / 0.4884 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004951/0.3018, allocations: 244.5 kB / 0.4887 GB, free: 296 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3019, allocations: 51.41 kB / 0.4887 GB, free: 232 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3022, allocations: 269 kB / 0.489 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3022, allocations: 33.7 kB / 0.489 GB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.3023, allocations: 148.3 kB / 0.4891 GB, free: 15.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.3024, allocations: 74.91 kB / 0.4892 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.3024, allocations: 4 kB / 0.4892 GB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3025, allocations: 330.8 kB / 0.4895 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3026, allocations: 51.98 kB / 0.4896 GB, free: 15.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3027, allocations: 99.27 kB / 0.4897 GB, free: 15.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.303, allocations: 154.5 kB / 0.4898 GB, free: 15.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.303, allocations: 4 kB / 0.4898 GB, free: 15.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003505/0.3034, allocations: 209.2 kB / 0.49 GB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3034, allocations: 4 kB / 0.49 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3034, allocations: 4 kB / 0.49 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3034, allocations: 0 / 0.49 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3037, allocations: 43.97 kB / 0.4901 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3037, allocations: 4 kB / 0.4901 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3038, allocations: 23.78 kB / 0.4901 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3038, allocations: 8 kB / 0.4901 GB, free: 14.73 MB / 378.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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.304, allocations: 149.6 kB / 0.4903 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.304, allocations: 23.72 kB / 0.4903 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.3044, allocations: 226.1 kB / 0.4905 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3044, allocations: 4 kB / 0.4905 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3045, allocations: 0 / 0.4905 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3045, allocations: 0 / 0.4905 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.3048, allocations: 301.3 kB / 0.4908 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3048, allocations: 4 kB / 0.4908 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.305, allocations: 35.98 kB / 0.4908 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.305, allocations: 4 kB / 0.4908 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3051, allocations: 4 kB / 0.4908 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3051, allocations: 3.938 kB / 0.4908 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.3051, allocations: 0 / 0.4908 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.3056, allocations: 306.1 kB / 0.4911 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3057, allocations: 108.8 kB / 0.4912 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3058, allocations: 4 kB / 0.4912 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3059, allocations: 19.98 kB / 0.4913 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.3059, allocations: 11.98 kB / 0.4913 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.306, allocations: 15.88 kB / 0.4913 GB, free: 13.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3062, allocations: 196.5 kB / 0.4915 GB, free: 13.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3062, allocations: 0 / 0.4915 GB, free: 13.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.3065, allocations: 63.94 kB / 0.4915 GB, free: 13.18 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009979/0.3075, allocations: 426.2 kB / 0.4919 GB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.3078, allocations: 154.5 kB / 0.4921 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3079, allocations: 0 / 0.4921 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.308, allocations: 83.84 kB / 0.4922 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3084, allocations: 44.03 kB / 0.4922 GB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3094, allocations: 0.6705 MB / 0.4929 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3097, allocations: 0.7521 MB / 0.4936 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.3098, allocations: 33.92 kB / 0.4936 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.3099, allocations: 19.44 kB / 0.4937 GB, free: 11.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3099, allocations: 4 kB / 0.4937 GB, free: 11.1 MB / 378.7 MB Notification: Performance of Templates: time 0.006133/0.316, allocations: 2.663 MB / 0.4963 GB, free: 8.457 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches