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.001389/0.001389, allocations: 111.7 kB / 17.06 MB, free: 6 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.001703/0.001703, allocations: 194.9 kB / 18 MB, free: 5.078 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 51.92 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3178, allocations: 49.44 MB / 400.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02802/0.3459, allocations: 24.83 MB / 425.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3643, allocations: 7.813 MB / 433.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00659/0.3709, allocations: 179.4 kB / 433.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01969/0.3907, allocations: 8.419 MB / 442 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.4031, allocations: 3.046 MB / 445.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007272/0.4104, allocations: 1.812 MB / 446.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01844/0.4289, allocations: 11.1 MB / 458 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04442/0.4734, allocations: 23.31 MB / 481.3 MB, free: 7.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.486, allocations: 5.923 MB / 487.2 MB, free: 2.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.4983, allocations: 6.448 MB / 493.7 MB, free: 11.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006237/0.5046, allocations: 1.715 MB / 495.4 MB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.5149, allocations: 2.121 MB / 497.5 MB, free: 7.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008003/0.523, allocations: 3.383 MB / 0.4891 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01399/0.537, allocations: 6.354 MB / 0.4954 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03006/0.5671, allocations: 23.11 MB / 0.5179 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5672, allocations: 4 kB / 0.5179 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5672, allocations: 0 / 0.5179 GB, free: 6.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007442/0.5679, allocations: 0 / 0.5179 GB, free: 6.781 MB / 446.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.04856/0.6165, allocations: 13.38 MB / 0.531 GB, free: 9.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.6166, allocations: 15.89 kB / 0.531 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03594/0.6525, allocations: 6.262 MB / 0.5371 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5479/1.2, allocations: 7.236 MB / 0.5442 GB, free: 112.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008907/1.201, allocations: 0.7199 MB / 0.5449 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005959/1.207, allocations: 0.9424 MB / 0.5458 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0406/1.248, allocations: 16.13 MB / 0.5616 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005267/1.249, allocations: 17.36 kB / 0.5616 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004066/1.253, allocations: 407.8 kB / 0.562 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006165/1.253, allocations: 0.5565 MB / 0.5625 GB, free: 105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03174/1.285, allocations: 15.11 MB / 0.5773 GB, free: 90.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0867/1.372, allocations: 52 MB / 0.6281 GB, free: 37.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/1.389, allocations: 20.09 MB / 0.6477 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/1.394, allocations: 3.637 MB / 0.6512 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/1.395, allocations: 183.2 kB / 0.6514 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/1.395, allocations: 82.06 kB / 0.6515 GB, free: 11.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 7.655e-06/1.395, allocations: 3.984 kB / 0.6515 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05591/1.451, allocations: 20.63 MB / 0.6716 GB, free: 6.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.451, allocations: 103 kB / 0.6717 GB, free: 6.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009091/1.46, allocations: 4.489 MB / 0.6761 GB, free: 2.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009466/1.461, allocations: 97.7 kB / 0.6762 GB, free: 2.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003683/1.465, allocations: 4.186 MB / 0.6803 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.467, allocations: 1.539 MB / 0.6818 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00224/1.469, allocations: 1.192 MB / 0.683 GB, free: 11.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/1.47, allocations: 309.1 kB / 0.6833 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/1.475, allocations: 3.065 MB / 0.6862 GB, free: 7.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007253/1.482, allocations: 5.215 MB / 0.6913 GB, free: 1.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.496, allocations: 8.864 MB / 0.7 GB, free: 7.832 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-05/1.496, allocations: 20 kB / 0.7 GB, free: 7.812 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0233/1.519, allocations: 9.854 MB / 0.7096 GB, free: 13.94 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.519, allocations: 35.94 kB / 0.7097 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.519, allocations: 72 kB / 0.7097 GB, free: 13.83 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/1.524, allocations: 1.407 MB / 0.7111 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005981/1.53, allocations: 1.381 MB / 0.7125 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/1.551, allocations: 12.66 MB / 0.7248 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/1.556, allocations: 359.4 kB / 0.7252 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.557, allocations: 296 kB / 0.7255 GB, free: 13.47 MB / 0.5294 GB 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.01136/1.568, allocations: 3.881 MB / 0.7292 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/1.57, allocations: 466.3 kB / 0.7297 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/1.589, allocations: 8.506 MB / 0.738 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3119/1.901, allocations: 6.245 MB / 0.7441 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/1.901, allocations: 20.53 kB / 0.7441 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-05/1.901, allocations: 21.28 kB / 0.7441 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.929, allocations: 17.4 MB / 0.7611 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.929, allocations: 7.562 kB / 0.7611 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.932, allocations: 0.8022 MB / 0.7619 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.936, allocations: 1.284 MB / 0.7632 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/1.936, allocations: 102.5 kB / 0.7633 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.949, allocations: 11.56 MB / 0.7746 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.949, allocations: 11.22 kB / 0.7746 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.964, allocations: 11.19 MB / 0.7855 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.966, allocations: 1.084 MB / 0.7866 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/1.967, allocations: 87.7 kB / 0.7866 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/1.969, allocations: 240.3 kB / 0.7869 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006615/1.97, allocations: 328.4 kB / 0.7872 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.97, allocations: 139.5 kB / 0.7873 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004091/1.975, allocations: 3.104 MB / 0.7904 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.975, allocations: 0 / 0.7904 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006281/1.981, allocations: 1.728 MB / 0.792 GB, free: 146.6 MB / 0.5294 GB 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/1.982, allocations: 0.5461 MB / 0.7926 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.993, allocations: 7.983 MB / 0.8004 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.993, allocations: 4 kB / 0.8004 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005891/1.999, allocations: 3.935 MB / 0.8042 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004571/2.004, allocations: 1.05 MB / 0.8052 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/2.032, allocations: 18.01 MB / 0.8228 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.045, allocations: 6.516 MB / 0.8292 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009309/2.054, allocations: 2.123 MB / 0.8313 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/2.056, allocations: 375.4 kB / 0.8316 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/2.056, allocations: 0 / 0.8316 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1272/2.184, allocations: 72.1 MB / 0.902 GB, free: 34.59 MB / 0.5294 GB 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/jenkins/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/jenkins/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