Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 94.61 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.191e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09412, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.4951, allocations: 79.39 MB / 448.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4954, allocations: 75.39 kB / 448.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02613/0.5216, allocations: 5.785 MB / 454.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5217, allocations: 0 / 454.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.5217, allocations: 4 kB / 454.3 MB, free: 8.883 MB / 330.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.0009754/0.5227, allocations: 0.4951 MB / 454.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5228, allocations: 12.03 kB / 454.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.523, allocations: 27.72 kB / 454.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.5236, allocations: 259.1 kB / 455.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5236, allocations: 10.56 kB / 455.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.5237, allocations: 19.27 kB / 455.2 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.5241, allocations: 156.2 kB / 455.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5242, allocations: 7.984 kB / 455.3 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.5242, allocations: 7.625 kB / 455.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5242, allocations: 4.219 kB / 455.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.5246, allocations: 118 kB / 455.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.526, allocations: 0.5855 MB / 456 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.5265, allocations: 156.5 kB / 456.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.5267, allocations: 87.03 kB / 456.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.5268, allocations: 4 kB / 456.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.5271, allocations: 119 kB / 456.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.886e-06/0.5271, allocations: 0 / 456.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005698/0.5277, allocations: 183.9 kB / 456.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5278, allocations: 59.36 kB / 456.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.5282, allocations: 226.9 kB / 456.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.5282, allocations: 29.58 kB / 456.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5283, allocations: 201.7 kB / 457.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.5284, allocations: 66.22 kB / 457.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.5285, allocations: 0 / 457.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5286, allocations: 330.5 kB / 457.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.5288, allocations: 54.36 kB / 457.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.529, allocations: 91.73 kB / 457.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.5292, allocations: 60.05 kB / 457.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5292, allocations: 0 / 457.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004939/0.5297, allocations: 197.7 kB / 457.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5297, allocations: 8 kB / 457.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5298, allocations: 0 / 457.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5298, allocations: 0 / 457.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.5302, allocations: 47.92 kB / 457.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5302, allocations: 0 / 457.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.5305, allocations: 35.5 kB / 457.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5305, allocations: 12.09 kB / 458 MB, free: 5.57 MB / 330.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 () * 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.000117/0.5307, allocations: 119.9 kB / 458.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.5307, allocations: 15.81 kB / 458.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006258/0.5314, allocations: 212.5 kB / 458.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5314, allocations: 0 / 458.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5314, allocations: 3.938 kB / 458.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5314, allocations: 4 kB / 458.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.5319, allocations: 299.7 kB / 458.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5319, allocations: 0 / 458.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.5323, allocations: 39.86 kB / 458.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5323, allocations: 4 kB / 458.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.5324, allocations: 0 / 458.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5324, allocations: 0 / 458.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5324, allocations: 4 kB / 458.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.5332, allocations: 301.9 kB / 458.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.5333, allocations: 112.7 kB / 459 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.5334, allocations: 7.875 kB / 459.1 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5336, allocations: 8.062 kB / 459.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.5337, allocations: 19.91 kB / 459.1 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5337, allocations: 4 kB / 459.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002872/0.534, allocations: 187.9 kB / 459.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.534, allocations: 0 / 459.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.5345, allocations: 71.41 kB / 459.3 MB, free: 4.32 MB / 330.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) * 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.001193/0.5357, allocations: 391.7 kB / 459.7 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.5362, allocations: 142.2 kB / 459.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5362, allocations: 0 / 459.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.5364, allocations: 86.55 kB / 459.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.537, allocations: 48.22 kB / 460 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.5383, allocations: 451.4 kB / 460.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5387, allocations: 0.7558 MB / 461.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.5389, allocations: 27.42 kB / 461.2 MB, free: 2.496 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5389, allocations: 3.938 kB / 461.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of Templates: time 0.008785/0.5477, allocations: 3.149 MB / 464.4 MB, free: 15.36 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches