Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001434/0.001434, allocations: 107.2 kB / 17.16 MB, free: 6.082 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.001689/0.001689, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 43.95 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 49.45 MB / 350.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2232/0.3278, allocations: 24.39 MB / 374.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3439, allocations: 7.768 MB / 382.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00637/0.3504, allocations: 179.8 kB / 382.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01786/0.3683, allocations: 7.9 MB / 390.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.3814, allocations: 2.735 MB / 393.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008245/0.3896, allocations: 1.697 MB / 394.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02617/0.4158, allocations: 10.97 MB / 405.7 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04204/0.4579, allocations: 19.62 MB / 425.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.4682, allocations: 5.083 MB / 430.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.4797, allocations: 6.186 MB / 436.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004276/0.484, allocations: 1.109 MB / 437.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007248/0.4913, allocations: 1.511 MB / 439.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005065/0.4964, allocations: 2.734 MB / 442 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01317/0.5096, allocations: 5.725 MB / 447.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.5316, allocations: 20.18 MB / 467.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5316, allocations: 3.938 kB / 467.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5316, allocations: 0 / 467.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006537/0.5323, allocations: 0 / 467.9 MB, free: 0.5469 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04276/0.5751, allocations: 13.46 MB / 481.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5751, allocations: 12.03 kB / 481.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03514/0.6103, allocations: 6.212 MB / 487.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.6263, allocations: 7.061 MB / 494.6 MB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008053/0.6271, allocations: 0.7303 MB / 495.3 MB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004248/0.6314, allocations: 0.9491 MB / 496.3 MB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04765/0.6791, allocations: 16.14 MB / 0.5004 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003963/0.6795, allocations: 19.88 kB / 0.5004 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/0.6834, allocations: 404 kB / 0.5008 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006213/0.684, allocations: 0.563 MB / 0.5014 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03428/0.7183, allocations: 15.1 MB / 0.5161 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5448/1.263, allocations: 52.62 MB / 0.5675 GB, free: 84.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.281, allocations: 20.13 MB / 0.5872 GB, free: 66.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005969/1.287, allocations: 3.666 MB / 0.5907 GB, free: 64.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/1.287, allocations: 187.7 kB / 0.5909 GB, free: 64.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/1.287, allocations: 81.11 kB / 0.591 GB, free: 64.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 7.965e-06/1.287, allocations: 0 / 0.591 GB, free: 64.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.05137/1.339, allocations: 20.64 MB / 0.6112 GB, free: 44.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.339, allocations: 98.97 kB / 0.6113 GB, free: 44.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006507/1.345, allocations: 4.493 MB / 0.6156 GB, free: 40.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009228/1.346, allocations: 101.7 kB / 0.6157 GB, free: 40.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.348, allocations: 4.183 MB / 0.6198 GB, free: 36.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.35, allocations: 1.555 MB / 0.6213 GB, free: 34.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.352, allocations: 1.196 MB / 0.6225 GB, free: 33.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/1.352, allocations: 305.1 kB / 0.6228 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/1.356, allocations: 3.096 MB / 0.6258 GB, free: 29.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005416/1.362, allocations: 5.247 MB / 0.6309 GB, free: 23.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.372, allocations: 8.931 MB / 0.6397 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-05/1.372, allocations: 20 kB / 0.6397 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01709/1.39, allocations: 9.917 MB / 0.6494 GB, free: 3.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/1.39, allocations: 32 kB / 0.6494 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/1.39, allocations: 68 kB / 0.6495 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/1.393, allocations: 1.38 MB / 0.6508 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/1.399, allocations: 1.377 MB / 0.6522 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.416, allocations: 11.65 MB / 0.6635 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005765/1.422, allocations: 355.5 kB / 0.6639 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.424, allocations: 296 kB / 0.6642 GB, free: 4.414 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * 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.009187/1.433, allocations: 3.888 MB / 0.668 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/1.435, allocations: 458.3 kB / 0.6684 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.454, allocations: 8.575 MB / 0.6768 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0136/1.468, allocations: 6.292 MB / 0.6829 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/1.468, allocations: 15.98 kB / 0.6829 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001261/1.468, allocations: 23.92 kB / 0.6829 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3106/1.779, allocations: 17.73 MB / 0.7003 GB, free: 149.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/1.779, allocations: 10.66 kB / 0.7003 GB, free: 149.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004123/1.783, allocations: 0.8066 MB / 0.7011 GB, free: 149.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/1.787, allocations: 1.275 MB / 0.7023 GB, free: 149.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000943/1.788, allocations: 113 kB / 0.7024 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/1.804, allocations: 10.56 MB / 0.7127 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/1.804, allocations: 12.75 kB / 0.7127 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02063/1.824, allocations: 11.29 MB / 0.7238 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003343/1.828, allocations: 1.087 MB / 0.7248 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.829, allocations: 91.02 kB / 0.7249 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.832, allocations: 236.9 kB / 0.7251 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008207/1.833, allocations: 331.9 kB / 0.7255 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.833, allocations: 144.3 kB / 0.7256 GB, free: 140.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004641/1.837, allocations: 3.102 MB / 0.7286 GB, free: 139 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.22e-07/1.837, allocations: 2 kB / 0.7286 GB, free: 139 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008265/1.846, allocations: 1.723 MB / 0.7303 GB, free: 138.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (420): * Single equations (assignments): 414 * 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,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/1.848, allocations: 0.5495 MB / 0.7308 GB, free: 138.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01359/1.861, allocations: 8.025 MB / 0.7387 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.862, allocations: 0 / 0.7387 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007216/1.869, allocations: 3.978 MB / 0.7426 GB, free: 133.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/1.875, allocations: 1.002 MB / 0.7435 GB, free: 133.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/1.91, allocations: 22.1 MB / 0.7651 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006693/1.917, allocations: 6.324 MB / 0.7713 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.919, allocations: 427.3 kB / 0.7717 GB, free: 108.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/1.919, allocations: 0 / 0.7717 GB, free: 108.4 MB / 478.1 MB Notification: Performance of Templates: time 0.5109/2.43, allocations: 227.3 MB / 0.9937 GB, free: 49.01 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches