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.001043/0.001043, allocations: 187 kB / 17.92 MB, free: 3.855 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.158/1.158, allocations: 205.1 MB / 223.8 MB, free: 8.465 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.0008612/0.0008611, allocations: 103.6 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006897/0.0006897, allocations: 39.94 kB / 327.2 MB, free: 292 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1727, allocations: 46.63 MB / 373.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01693/0.1896, allocations: 24.53 MB / 398.4 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.2005, allocations: 7.661 MB / 406 MB, free: 17.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/0.2043, allocations: 143.6 kB / 406.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0127/0.217, allocations: 7.901 MB / 414.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007178/0.2242, allocations: 2.8 MB / 416.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.2281, allocations: 1.671 MB / 418.6 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.239, allocations: 11.3 MB / 429.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02788/0.2669, allocations: 19.66 MB / 449.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/0.2735, allocations: 5.168 MB / 454.7 MB, free: 316 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008042/0.2816, allocations: 6.287 MB / 461 MB, free: 10 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002609/0.2842, allocations: 1.109 MB / 462.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/0.2882, allocations: 1.507 MB / 463.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.2907, allocations: 2.777 MB / 466.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007634/0.2984, allocations: 5.799 MB / 472.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.3184, allocations: 22.62 MB / 494.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3184, allocations: 0 / 494.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3185, allocations: 0 / 494.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004122/0.3189, allocations: 0 / 494.8 MB, free: 8.086 MB / 378.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.2691/0.588, allocations: 13.63 MB / 0.4965 GB, free: 92.63 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.5881, allocations: 8.938 kB / 0.4965 GB, free: 92.63 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0342/0.6223, allocations: 7.203 MB / 0.5036 GB, free: 89.79 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.6351, allocations: 6.481 MB / 0.5099 GB, free: 85.4 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/0.6356, allocations: 0.7373 MB / 0.5106 GB, free: 84.68 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00293/0.6386, allocations: 0.9604 MB / 0.5115 GB, free: 83.73 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/0.6671, allocations: 16.61 MB / 0.5278 GB, free: 67.06 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003207/0.6675, allocations: 7.906 kB / 0.5278 GB, free: 67.05 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/0.6696, allocations: 415.4 kB / 0.5282 GB, free: 66.66 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004329/0.6701, allocations: 0.5869 MB / 0.5287 GB, free: 66.07 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/0.6941, allocations: 15.8 MB / 0.5442 GB, free: 50.25 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06919/0.7634, allocations: 53.88 MB / 0.5968 GB, free: 11.51 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/0.7836, allocations: 22.74 MB / 0.619 GB, free: 2.566 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005772/0.7894, allocations: 3.832 MB / 0.6227 GB, free: 14.71 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01946/0.8089, allocations: 11.79 MB / 0.6342 GB, free: 2.711 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.809, allocations: 69.39 kB / 0.6343 GB, free: 2.633 MB / 426.8 MB Notification: Performance of pre-optimization done (n=363): time 5.05e-06/0.809, allocations: 4 kB / 0.6343 GB, free: 2.629 MB / 426.8 MB Notification: Performance of matching and sorting (n=368): time 0.03582/0.8448, allocations: 17.49 MB / 0.6514 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.8449, allocations: 90.27 kB / 0.6515 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/0.8516, allocations: 4.765 MB / 0.6561 GB, free: 12.1 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000333/0.852, allocations: 81.7 kB / 0.6562 GB, free: 12.01 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/0.8546, allocations: 4.481 MB / 0.6606 GB, free: 7.473 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.8557, allocations: 1.263 MB / 0.6618 GB, free: 6.191 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/0.8576, allocations: 1.195 MB / 0.663 GB, free: 4.984 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.8577, allocations: 309.1 kB / 0.6633 GB, free: 4.68 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/0.8619, allocations: 2.936 MB / 0.6661 GB, free: 1.738 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.15/1.012, allocations: 5.291 MB / 0.6713 GB, free: 155.4 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008675/1.021, allocations: 8.702 MB / 0.6798 GB, free: 149.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.253e-05/1.021, allocations: 25.72 kB / 0.6798 GB, free: 149.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01323/1.034, allocations: 9.659 MB / 0.6893 GB, free: 146.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/1.034, allocations: 41.31 kB / 0.6893 GB, free: 146.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/1.034, allocations: 79.72 kB / 0.6894 GB, free: 146.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.037, allocations: 1.401 MB / 0.6907 GB, free: 145.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/1.041, allocations: 1.331 MB / 0.692 GB, free: 145.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.054, allocations: 11.67 MB / 0.7034 GB, free: 139 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.058, allocations: 375.4 kB / 0.7038 GB, free: 138.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/1.058, allocations: 301.9 kB / 0.7041 GB, free: 138.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004512/1.063, allocations: 3.922 MB / 0.7079 GB, free: 135.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007116/1.063, allocations: 448 kB / 0.7083 GB, free: 135.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/1.073, allocations: 6.818 MB / 0.715 GB, free: 129.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006916/1.08, allocations: 5.633 MB / 0.7205 GB, free: 124.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.08, allocations: 12 kB / 0.7205 GB, free: 124.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/1.08, allocations: 23.86 kB / 0.7205 GB, free: 124.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.1, allocations: 15.51 MB / 0.7357 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.1, allocations: 4 kB / 0.7357 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/1.102, allocations: 0.6682 MB / 0.7363 GB, free: 108.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/1.105, allocations: 1.27 MB / 0.7376 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.106, allocations: 87.98 kB / 0.7377 GB, free: 106.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.116, allocations: 10.58 MB / 0.748 GB, free: 96.03 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.116, allocations: 7.938 kB / 0.748 GB, free: 96.02 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04879/1.165, allocations: 38.28 MB / 0.7854 GB, free: 57.24 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.167, allocations: 1.022 MB / 0.7864 GB, free: 56.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/1.168, allocations: 75.98 kB / 0.7865 GB, free: 56.12 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.17, allocations: 223.8 kB / 0.7867 GB, free: 55.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/1.17, allocations: 275.2 kB / 0.7869 GB, free: 55.63 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.17, allocations: 112 kB / 0.787 GB, free: 55.52 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003515/1.174, allocations: 3.233 MB / 0.7902 GB, free: 52.29 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.174, allocations: 0 / 0.7902 GB, free: 52.29 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005649/1.18, allocations: 2.067 MB / 0.7922 GB, free: 50.22 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/1.181, allocations: 0.5247 MB / 0.7927 GB, free: 49.76 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009431/1.19, allocations: 7.577 MB / 0.8001 GB, free: 42.16 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.19, allocations: 8.062 kB / 0.8001 GB, free: 42.15 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00461/1.195, allocations: 3.592 MB / 0.8036 GB, free: 38.54 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/1.199, allocations: 0.9784 MB / 0.8046 GB, free: 37.55 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.225, allocations: 25.3 MB / 0.8293 GB, free: 12.13 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1529/1.378, allocations: 6.676 MB / 0.8358 GB, free: 140.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005544/1.384, allocations: 2.108 MB / 0.8379 GB, free: 140.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/1.385, allocations: 361.3 kB / 0.8382 GB, free: 140.5 MB / 458.8 MB Notification: Performance of SimCode: time 6.31e-07/1.385, allocations: 0.5625 kB / 0.8382 GB, free: 140.5 MB / 458.8 MB Notification: Performance of Templates: time 0.09993/1.485, allocations: 78.99 MB / 0.9154 GB, free: 80.27 MB / 458.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@2/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