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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008963, allocations: 92.75 kB / 17.3 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 173.8 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004904, allocations: 8 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 47.58 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02507/0.1371, allocations: 23.45 MB / 352.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.1557, allocations: 7.578 MB / 360 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006745/0.1625, allocations: 139.6 kB / 360.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007279/0.1698, allocations: 1.777 MB / 361.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.1838, allocations: 2.757 MB / 364.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006335/0.1902, allocations: 1.556 MB / 366.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.2095, allocations: 11.15 MB / 377.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2943/0.5039, allocations: 23.57 MB / 401 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008741/0.5127, allocations: 4.224 MB / 405.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009654/0.5224, allocations: 5.092 MB / 410.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003065/0.5255, allocations: 0.6635 MB / 410.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005011/0.5305, allocations: 1.056 MB / 412 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.5331, allocations: 2.149 MB / 414.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0079/0.541, allocations: 5.076 MB / 419.2 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02519/0.5662, allocations: 21.75 MB / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.5663, allocations: 0 / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5663, allocations: 0 / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008559/0.5672, allocations: 0 / 441 MB, free: 14.26 MB / 350.1 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.03885/0.606, allocations: 11.37 MB / 452.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.6061, allocations: 8.031 kB / 452.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04059/0.6467, allocations: 7.232 MB / 459.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.6616, allocations: 6.513 MB / 466.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007491/0.6624, allocations: 0.7318 MB / 466.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004418/0.6668, allocations: 0.9629 MB / 467.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04465/0.7115, allocations: 16.61 MB / 484.4 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/0.7118, allocations: 15.91 kB / 484.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002326/0.7142, allocations: 402.7 kB / 484.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006091/0.7148, allocations: 0.5909 MB / 485.4 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/0.7512, allocations: 15.81 MB / 0.4895 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5307/1.282, allocations: 54.04 MB / 0.5422 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02163/1.304, allocations: 22.73 MB / 0.5644 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005897/1.31, allocations: 3.838 MB / 0.5682 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.326, allocations: 11.79 MB / 0.5797 GB, free: 106 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.326, allocations: 80.2 kB / 0.5798 GB, free: 105.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.71e-06/1.326, allocations: 0 / 0.5798 GB, free: 105.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03606/1.362, allocations: 17.57 MB / 0.5969 GB, free: 98.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/1.363, allocations: 92.39 kB / 0.597 GB, free: 98.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006322/1.369, allocations: 4.758 MB / 0.6017 GB, free: 97.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006484/1.37, allocations: 85.77 kB / 0.6017 GB, free: 96.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002251/1.372, allocations: 4.469 MB / 0.6061 GB, free: 93.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.373, allocations: 1.272 MB / 0.6074 GB, free: 92.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/1.374, allocations: 475.3 kB / 0.6078 GB, free: 91.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/1.374, allocations: 301.1 kB / 0.6081 GB, free: 91.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.378, allocations: 2.944 MB / 0.611 GB, free: 89.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005537/1.384, allocations: 5.301 MB / 0.6161 GB, free: 85.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00901/1.393, allocations: 8.727 MB / 0.6247 GB, free: 75.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.564e-05/1.393, allocations: 20 kB / 0.6247 GB, free: 75.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01677/1.409, allocations: 9.686 MB / 0.6341 GB, free: 65.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/1.41, allocations: 43.12 kB / 0.6342 GB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/1.41, allocations: 76 kB / 0.6343 GB, free: 65.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.413, allocations: 1.406 MB / 0.6356 GB, free: 64.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004811/1.418, allocations: 1.334 MB / 0.6369 GB, free: 62.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.433, allocations: 11.69 MB / 0.6484 GB, free: 50.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.438, allocations: 367.5 kB / 0.6487 GB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.439, allocations: 304 kB / 0.649 GB, free: 50.11 MB / 446.1 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.007563/1.447, allocations: 3.919 MB / 0.6528 GB, free: 46.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.448, allocations: 454.3 kB / 0.6533 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.461, allocations: 6.828 MB / 0.6599 GB, free: 38.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008779/1.47, allocations: 5.647 MB / 0.6654 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.5e-05/1.47, allocations: 12 kB / 0.6655 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/1.47, allocations: 19.92 kB / 0.6655 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03172/1.502, allocations: 15.54 MB / 0.6806 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.502, allocations: 8 kB / 0.6806 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.505, allocations: 0.6631 MB / 0.6813 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/1.508, allocations: 1.267 MB / 0.6825 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/1.508, allocations: 91.91 kB / 0.6826 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.521, allocations: 10.59 MB / 0.693 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.521, allocations: 8 kB / 0.693 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.539, allocations: 10.12 MB / 0.7028 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003226/1.542, allocations: 1.038 MB / 0.7039 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.544, allocations: 75.98 kB / 0.7039 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/1.547, allocations: 223.8 kB / 0.7041 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.548, allocations: 271.1 kB / 0.7044 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005222/1.549, allocations: 116 kB / 0.7045 GB, free: 8.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007634/1.556, allocations: 3.233 MB / 0.7077 GB, free: 5.414 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.556, allocations: 3.938 kB / 0.7077 GB, free: 5.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009374/1.566, allocations: 1.697 MB / 0.7093 GB, free: 3.719 MB / 462.1 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.002184/1.568, allocations: 0.507 MB / 0.7098 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2282/1.796, allocations: 7.592 MB / 0.7172 GB, free: 148.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.796, allocations: 1.5 kB / 0.7172 GB, free: 148.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008427/1.805, allocations: 3.615 MB / 0.7208 GB, free: 148.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00926/1.814, allocations: 0.9743 MB / 0.7217 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/1.851, allocations: 22.27 MB / 0.7435 GB, free: 135.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007573/1.859, allocations: 6.558 MB / 0.7499 GB, free: 133.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006705/1.865, allocations: 2.103 MB / 0.7519 GB, free: 133.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.866, allocations: 348.8 kB / 0.7523 GB, free: 133.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/1.866, allocations: 0 / 0.7523 GB, free: 133.1 MB / 462.1 MB Notification: Performance of Templates: time 0.108/1.974, allocations: 68.12 MB / 0.8188 GB, free: 71.65 MB / 462.1 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