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.001028/0.001028, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.559/1.559, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008565/0.0008565, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.171e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09765, allocations: 47.59 MB / 370.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5156, allocations: 132 MB / 0.4903 GB, free: 9.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.516, allocations: 100.8 kB / 0.4904 GB, free: 9.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/1.661, allocations: 351.9 MB / 0.834 GB, free: 8.047 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.398e-06/1.661, allocations: 0 / 0.834 GB, free: 8.047 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006692/1.662, allocations: 227.7 kB / 0.8342 GB, free: 7.824 MB / 426.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.582/2.244, allocations: 9.532 MB / 0.8435 GB, free: 26.29 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/2.244, allocations: 9.25 kB / 0.8435 GB, free: 26.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02919/2.273, allocations: 4.923 MB / 0.8484 GB, free: 25.81 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/2.296, allocations: 8.174 MB / 0.8563 GB, free: 25.35 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/2.297, allocations: 0.7103 MB / 0.857 GB, free: 25.33 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00504/2.302, allocations: 0.9197 MB / 0.8579 GB, free: 25.33 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04966/2.352, allocations: 16.93 MB / 0.8745 GB, free: 24.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005767/2.353, allocations: 10.19 kB / 0.8745 GB, free: 24.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/2.358, allocations: 408.4 kB / 0.8749 GB, free: 24.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009733/2.359, allocations: 0.7073 MB / 0.8755 GB, free: 24.21 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03527/2.394, allocations: 15.54 MB / 0.8907 GB, free: 24.12 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/2.495, allocations: 55.3 MB / 0.9447 GB, free: 2.562 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/2.52, allocations: 19.2 MB / 0.9635 GB, free: 6.086 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01402/2.534, allocations: 7.538 MB / 0.9708 GB, free: 1.629 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05955/2.593, allocations: 25.32 MB / 0.9956 GB, free: 13.96 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/2.593, allocations: 99.42 kB / 0.9957 GB, free: 13.86 MB / 474.8 MB Notification: Performance of pre-optimization done (n=749): time 1.083e-05/2.593, allocations: 0 / 0.9957 GB, free: 13.86 MB / 474.8 MB Notification: Performance of matching and sorting (n=754): time 0.3623/2.956, allocations: 25.4 MB / 1.02 GB, free: 68.74 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/2.956, allocations: 115.1 kB / 1.021 GB, free: 68.67 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/2.962, allocations: 3.182 MB / 1.024 GB, free: 68.4 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001688/2.964, allocations: 125.4 kB / 1.024 GB, free: 68.37 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/2.966, allocations: 3.597 MB / 1.027 GB, free: 66.77 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003729/2.97, allocations: 2.481 MB / 1.03 GB, free: 65.15 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008402/2.971, allocations: 127.4 kB / 1.03 GB, free: 65.15 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000694/2.972, allocations: 0.604 MB / 1.03 GB, free: 64.83 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009062/2.981, allocations: 5.012 MB / 1.035 GB, free: 64.82 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/2.991, allocations: 6.257 MB / 1.041 GB, free: 63.62 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/3.002, allocations: 6.055 MB / 1.047 GB, free: 63.52 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.713e-05/3.002, allocations: 11.09 kB / 1.047 GB, free: 63.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02727/3.03, allocations: 14.46 MB / 1.061 GB, free: 62.99 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/3.03, allocations: 18.19 kB / 1.062 GB, free: 62.99 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/3.03, allocations: 31.72 kB / 1.062 GB, free: 62.99 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007449/3.037, allocations: 4.012 MB / 1.065 GB, free: 62.9 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/3.043, allocations: 1.183 MB / 1.067 GB, free: 62.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/3.054, allocations: 12.54 MB / 1.079 GB, free: 58.35 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/3.061, allocations: 362.5 kB / 1.079 GB, free: 58.35 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/3.063, allocations: 284.4 kB / 1.079 GB, free: 58.35 MB / 474.8 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 () * 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.002032/3.065, allocations: 445 kB / 1.08 GB, free: 58.22 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/3.067, allocations: 0.4892 MB / 1.08 GB, free: 57.96 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/3.09, allocations: 14.17 MB / 1.094 GB, free: 54.32 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0211/3.112, allocations: 12.67 MB / 1.107 GB, free: 48.95 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/3.112, allocations: 2.953 kB / 1.107 GB, free: 48.95 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001468/3.112, allocations: 38.97 kB / 1.107 GB, free: 48.95 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04926/3.161, allocations: 28.03 MB / 1.134 GB, free: 36.64 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/3.161, allocations: 0 / 1.134 GB, free: 36.64 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00429/3.165, allocations: 0.8816 MB / 1.135 GB, free: 36.41 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007174/3.173, allocations: 3.925 MB / 1.139 GB, free: 33.22 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001731/3.174, allocations: 159.2 kB / 1.139 GB, free: 33.08 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/3.185, allocations: 12.44 MB / 1.151 GB, free: 21.46 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/3.185, allocations: 4.031 kB / 1.151 GB, free: 21.45 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03083/3.216, allocations: 21.43 MB / 1.172 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006304/3.223, allocations: 1.736 MB / 1.174 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/3.225, allocations: 108 kB / 1.174 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005033/3.23, allocations: 298.7 kB / 1.174 GB, free: 416 kB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002546/3.233, allocations: 0.5569 MB / 1.175 GB, free: 48 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001793/3.235, allocations: 254 kB / 1.175 GB, free: 0 / 474.8 MB Notification: Performance of sorting global known variables: time 0.006127/3.241, allocations: 2.42 MB / 1.177 GB, free: 13.85 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.132e-06/3.241, allocations: 0 / 1.177 GB, free: 13.85 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01029/3.251, allocations: 1.822 MB / 1.179 GB, free: 12.04 MB / 490.8 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 () * 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.002858/3.254, allocations: 0.8333 MB / 1.18 GB, free: 11.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.3078/3.562, allocations: 12.41 MB / 1.192 GB, free: 86.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/3.562, allocations: 2.031 kB / 1.192 GB, free: 86.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01464/3.576, allocations: 6.403 MB / 1.198 GB, free: 86.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/3.583, allocations: 0.9011 MB / 1.199 GB, free: 86.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/3.629, allocations: 19.59 MB / 1.218 GB, free: 83.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/3.642, allocations: 6.829 MB / 1.225 GB, free: 82.96 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008456/3.65, allocations: 1.669 MB / 1.226 GB, free: 82.85 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/3.653, allocations: 358.5 kB / 1.227 GB, free: 82.84 MB / 490.8 MB Notification: Performance of SimCode: time 1.202e-06/3.653, allocations: 0 / 1.227 GB, free: 82.84 MB / 490.8 MB Notification: Performance of Templates: time 0.1641/3.817, allocations: 113.2 MB / 1.337 GB, free: 33.04 MB / 490.8 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