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.00117/0.00117, allocations: 111.2 kB / 16.92 MB, free: 5.766 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.001218/0.001218, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.313/1.313, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 48.12 kB / 300.6 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.0913, allocations: 49.45 MB / 350.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1977/0.2891, allocations: 24.81 MB / 374.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.303, allocations: 7.834 MB / 382.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.307, allocations: 182.3 kB / 382.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01726/0.3243, allocations: 8.357 MB / 391.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00981/0.3341, allocations: 2.988 MB / 394.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.3388, allocations: 1.81 MB / 396.1 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.3535, allocations: 11.02 MB / 407.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.039/0.3925, allocations: 23.48 MB / 430.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.4035, allocations: 5.876 MB / 436.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.4152, allocations: 6.534 MB / 443 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005307/0.4205, allocations: 1.719 MB / 444.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.4294, allocations: 2.125 MB / 446.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006376/0.4358, allocations: 3.351 MB / 450.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01374/0.4496, allocations: 6.362 MB / 456.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02851/0.4781, allocations: 22.98 MB / 479.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4782, allocations: 0 / 479.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4782, allocations: 0 / 479.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006637/0.4789, allocations: 0 / 479.5 MB, free: 4.359 MB / 382.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.04357/0.5225, allocations: 13.45 MB / 493 MB, free: 6.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5225, allocations: 8.031 kB / 493 MB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03551/0.558, allocations: 6.216 MB / 499.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/0.5765, allocations: 7.072 MB / 0.4944 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007882/0.5774, allocations: 0.7147 MB / 0.4951 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004513/0.5819, allocations: 0.9607 MB / 0.496 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04089/0.6228, allocations: 16.13 MB / 0.5118 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003387/0.6232, allocations: 19.81 kB / 0.5118 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003234/0.6264, allocations: 399.9 kB / 0.5122 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005578/0.627, allocations: 0.5631 MB / 0.5127 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.373/1, allocations: 15.09 MB / 0.5275 GB, free: 115.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07502/1.075, allocations: 52.63 MB / 0.5789 GB, free: 79.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/1.091, allocations: 20.1 MB / 0.5985 GB, free: 57.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006013/1.097, allocations: 3.64 MB / 0.6021 GB, free: 54.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.098, allocations: 179.8 kB / 0.6022 GB, free: 53.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/1.098, allocations: 82.06 kB / 0.6023 GB, free: 53.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 7.014e-06/1.098, allocations: 0 / 0.6023 GB, free: 53.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04836/1.146, allocations: 20.63 MB / 0.6224 GB, free: 33.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/1.146, allocations: 102.9 kB / 0.6225 GB, free: 33.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006713/1.153, allocations: 4.493 MB / 0.6269 GB, free: 28.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005452/1.154, allocations: 97.7 kB / 0.627 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.155, allocations: 4.192 MB / 0.6311 GB, free: 24.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.157, allocations: 1.534 MB / 0.6326 GB, free: 22.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/1.16, allocations: 1.196 MB / 0.6338 GB, free: 21.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/1.16, allocations: 305.1 kB / 0.6341 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.164, allocations: 3.061 MB / 0.6371 GB, free: 18.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005274/1.17, allocations: 5.218 MB / 0.6422 GB, free: 11.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.18, allocations: 8.86 MB / 0.6508 GB, free: 2.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.598e-05/1.18, allocations: 28 kB / 0.6508 GB, free: 2.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01809/1.198, allocations: 9.861 MB / 0.6605 GB, free: 8.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/1.198, allocations: 40.06 kB / 0.6605 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.199, allocations: 71.94 kB / 0.6606 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/1.202, allocations: 1.407 MB / 0.662 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/1.208, allocations: 1.392 MB / 0.6633 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/1.226, allocations: 12.68 MB / 0.6757 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/1.232, allocations: 359.4 kB / 0.676 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.233, allocations: 292 kB / 0.6763 GB, free: 7.719 MB / 462.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 (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.008641/1.242, allocations: 3.888 MB / 0.6801 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/1.244, allocations: 458.3 kB / 0.6805 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.261, allocations: 8.522 MB / 0.6889 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01092/1.272, allocations: 6.248 MB / 0.695 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/1.272, allocations: 12 kB / 0.695 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/1.272, allocations: 27.91 kB / 0.695 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2093/1.481, allocations: 17.65 MB / 0.7122 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/1.482, allocations: 6.75 kB / 0.7122 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/1.485, allocations: 0.8021 MB / 0.713 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/1.489, allocations: 1.304 MB / 0.7143 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004501/1.489, allocations: 98.2 kB / 0.7144 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.503, allocations: 11.58 MB / 0.7257 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.503, allocations: 7.781 kB / 0.7257 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/1.518, allocations: 11.2 MB / 0.7367 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.52, allocations: 1.087 MB / 0.7377 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007436/1.521, allocations: 94.62 kB / 0.7378 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.524, allocations: 229.2 kB / 0.738 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007331/1.524, allocations: 334.3 kB / 0.7383 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.525, allocations: 135.7 kB / 0.7385 GB, free: 135.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004302/1.529, allocations: 3.106 MB / 0.7415 GB, free: 134.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.529, allocations: 3.938 kB / 0.7415 GB, free: 134.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006241/1.535, allocations: 1.724 MB / 0.7432 GB, free: 134.2 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 (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.001511/1.537, allocations: 0.5519 MB / 0.7437 GB, free: 133.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03292/1.57, allocations: 14.97 MB / 0.7583 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.57, allocations: 4.25 kB / 0.7583 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007118/1.577, allocations: 3.93 MB / 0.7622 GB, free: 117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007408/1.584, allocations: 1.054 MB / 0.7632 GB, free: 116.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/1.615, allocations: 18.21 MB / 0.781 GB, free: 99.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007575/1.623, allocations: 6.504 MB / 0.7874 GB, free: 92.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006187/1.629, allocations: 2.134 MB / 0.7894 GB, free: 90.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.631, allocations: 375.4 kB / 0.7898 GB, free: 90.47 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/1.631, allocations: 3.938 kB / 0.7898 GB, free: 90.46 MB / 478.1 MB Notification: Performance of Templates: time 0.1102/1.741, allocations: 75.21 MB / 0.8632 GB, free: 15.76 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/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