Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 181.3 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.000883/0.0008831, allocations: 96.03 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 328.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2858, allocations: 47.56 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.653, allocations: 132.1 MB / 0.496 GB, free: 109.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.6533, allocations: 110.7 kB / 0.4961 GB, free: 109.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179/1.832, allocations: 352.3 MB / 0.8401 GB, free: 50.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.832, allocations: 0 / 0.8401 GB, free: 50.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006985/1.833, allocations: 221.4 kB / 0.8403 GB, free: 50.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03916/1.872, allocations: 10.08 MB / 0.8502 GB, free: 47.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.872, allocations: 14.41 kB / 0.8502 GB, free: 47.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02713/1.899, allocations: 4.945 MB / 0.855 GB, free: 46.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.922, allocations: 8.21 MB / 0.863 GB, free: 45.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/1.923, allocations: 0.7103 MB / 0.8637 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004843/1.928, allocations: 0.9113 MB / 0.8646 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04317/1.971, allocations: 17.13 MB / 0.8814 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004822/1.972, allocations: 15.14 kB / 0.8814 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003584/1.975, allocations: 406.9 kB / 0.8818 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008506/1.976, allocations: 0.7037 MB / 0.8824 GB, free: 44.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0343/2.01, allocations: 15.81 MB / 0.8979 GB, free: 42.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/2.12, allocations: 55.3 MB / 0.9519 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03155/2.151, allocations: 19.76 MB / 0.9712 GB, free: 5.496 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3255/2.477, allocations: 25.75 MB / 0.9963 GB, free: 63.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/2.477, allocations: 94.34 kB / 0.9964 GB, free: 62.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=749): time 8.817e-06/2.477, allocations: 0 / 0.9964 GB, free: 62.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=754): time 0.09742/2.574, allocations: 46.19 MB / 1.042 GB, free: 54.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/2.574, allocations: 117.7 kB / 1.042 GB, free: 54.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/2.579, allocations: 3.217 MB / 1.045 GB, free: 54.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/2.581, allocations: 128.3 kB / 1.045 GB, free: 54.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/2.582, allocations: 3.594 MB / 1.048 GB, free: 52.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002768/2.585, allocations: 2.478 MB / 1.051 GB, free: 50.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/2.586, allocations: 126.6 kB / 1.051 GB, free: 50.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000437/2.586, allocations: 0.601 MB / 1.052 GB, free: 50.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006976/2.593, allocations: 5.097 MB / 1.057 GB, free: 49.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007875/2.601, allocations: 6.34 MB / 1.063 GB, free: 46.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00829/2.609, allocations: 6.127 MB / 1.069 GB, free: 43.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-05/2.609, allocations: 9.844 kB / 1.069 GB, free: 43.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02125/2.631, allocations: 14.64 MB / 1.083 GB, free: 37.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/2.631, allocations: 18.44 kB / 1.083 GB, free: 37.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/2.631, allocations: 30.31 kB / 1.083 GB, free: 37.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007045/2.638, allocations: 4.035 MB / 1.087 GB, free: 35.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/2.643, allocations: 1.183 MB / 1.088 GB, free: 35.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/2.655, allocations: 12.59 MB / 1.1 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/2.661, allocations: 364.2 kB / 1.101 GB, free: 26.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/2.662, allocations: 286 kB / 1.101 GB, free: 26.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.008356/2.67, allocations: 3.863 MB / 1.105 GB, free: 23.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.672, allocations: 0.4913 MB / 1.105 GB, free: 22.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/2.693, allocations: 14.33 MB / 1.119 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01861/2.711, allocations: 12.88 MB / 1.132 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/2.711, allocations: 0 / 1.132 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.407e-05/2.711, allocations: 30.98 kB / 1.132 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3174/3.029, allocations: 28.6 MB / 1.16 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/3.029, allocations: 3.875 kB / 1.16 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/3.033, allocations: 0.8846 MB / 1.161 GB, free: 75.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007351/3.04, allocations: 3.953 MB / 1.165 GB, free: 75.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001334/3.042, allocations: 164.7 kB / 1.165 GB, free: 75.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/3.056, allocations: 12.48 MB / 1.177 GB, free: 70.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.056, allocations: 2.5 kB / 1.177 GB, free: 70.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/3.094, allocations: 21.68 MB / 1.198 GB, free: 69.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005826/3.1, allocations: 1.727 MB / 1.2 GB, free: 69.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002554/3.102, allocations: 101.4 kB / 1.2 GB, free: 69.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/3.107, allocations: 305.3 kB / 1.2 GB, free: 69.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002034/3.109, allocations: 0.5474 MB / 1.201 GB, free: 69.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001338/3.111, allocations: 204.6 kB / 1.201 GB, free: 69.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005144/3.116, allocations: 2.448 MB / 1.203 GB, free: 69.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/3.116, allocations: 0 / 1.203 GB, free: 69.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01032/3.126, allocations: 1.827 MB / 1.205 GB, free: 69.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/3.129, allocations: 0.8158 MB / 1.206 GB, free: 69.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02392/3.153, allocations: 12.44 MB / 1.218 GB, free: 68.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/3.153, allocations: 0 / 1.218 GB, free: 68.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01331/3.167, allocations: 6.482 MB / 1.224 GB, free: 65.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00782/3.174, allocations: 0.8986 MB / 1.225 GB, free: 65.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05712/3.232, allocations: 26.04 MB / 1.251 GB, free: 52.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01486/3.247, allocations: 6.837 MB / 1.257 GB, free: 49.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007899/3.254, allocations: 1.659 MB / 1.259 GB, free: 49.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/3.257, allocations: 354.5 kB / 1.259 GB, free: 49.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.854e-06/3.257, allocations: 0 / 1.259 GB, free: 49.53 MB / 474.7 MB Notification: Performance of Templates: time 0.4275/3.684, allocations: 120.2 MB / 1.377 GB, free: 58.19 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches