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.001501/0.001501, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001733/0.001733, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.234/1.234, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 51.02 kB / 302.1 MB, free: 5.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.0817, allocations: 49.44 MB / 351.5 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.185/0.2667, allocations: 24.81 MB / 376.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.2811, allocations: 7.828 MB / 384.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/0.287, allocations: 182.6 kB / 384.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01611/0.3032, allocations: 8.365 MB / 392.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008191/0.3114, allocations: 2.994 MB / 395.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.3156, allocations: 1.802 MB / 397.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.327, allocations: 11.1 MB / 408.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02489/0.3519, allocations: 23.31 MB / 431.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009237/0.3612, allocations: 5.899 MB / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.3727, allocations: 6.436 MB / 444.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004728/0.3775, allocations: 1.719 MB / 446 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008002/0.3855, allocations: 2.121 MB / 448.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005681/0.3912, allocations: 3.39 MB / 451.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.403, allocations: 6.354 MB / 457.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02509/0.4281, allocations: 23.11 MB / 480.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4281, allocations: 0 / 480.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4282, allocations: 0 / 480.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004542/0.4286, allocations: 0 / 480.9 MB, free: 3.797 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.03624/0.4649, allocations: 13.37 MB / 494.3 MB, free: 6.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4649, allocations: 12.03 kB / 494.3 MB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03431/0.4993, allocations: 6.263 MB / 0.4889 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.5151, allocations: 7.248 MB / 0.4959 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.5159, allocations: 0.7224 MB / 0.4966 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004071/0.52, allocations: 0.9452 MB / 0.4976 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04402/0.564, allocations: 16.13 MB / 0.5133 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003176/0.5644, allocations: 19.81 kB / 0.5133 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/0.5692, allocations: 404 kB / 0.5137 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007316/0.5699, allocations: 0.563 MB / 0.5143 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4117/0.9816, allocations: 15.1 MB / 0.529 GB, free: 115.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/1.049, allocations: 52 MB / 0.5798 GB, free: 79.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/1.063, allocations: 20.09 MB / 0.5994 GB, free: 57.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/1.068, allocations: 3.643 MB / 0.603 GB, free: 54.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/1.068, allocations: 179.6 kB / 0.6032 GB, free: 53.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.068, allocations: 81.28 kB / 0.6032 GB, free: 53.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 6.001e-06/1.068, allocations: 0 / 0.6032 GB, free: 53.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04041/1.109, allocations: 20.63 MB / 0.6234 GB, free: 33.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.109, allocations: 102.9 kB / 0.6235 GB, free: 32.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/1.114, allocations: 4.493 MB / 0.6279 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005873/1.114, allocations: 97.7 kB / 0.628 GB, free: 28.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/1.116, allocations: 4.191 MB / 0.632 GB, free: 24.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.117, allocations: 1.542 MB / 0.6336 GB, free: 22.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/1.118, allocations: 1.192 MB / 0.6347 GB, free: 21.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/1.118, allocations: 305.1 kB / 0.635 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.122, allocations: 3.061 MB / 0.638 GB, free: 18.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/1.126, allocations: 5.215 MB / 0.6431 GB, free: 11.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.134, allocations: 8.868 MB / 0.6518 GB, free: 2.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/1.134, allocations: 23.94 kB / 0.6518 GB, free: 1.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01453/1.148, allocations: 9.858 MB / 0.6614 GB, free: 8.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/1.148, allocations: 36 kB / 0.6614 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.472e-05/1.148, allocations: 68 kB / 0.6615 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/1.152, allocations: 1.399 MB / 0.6629 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/1.157, allocations: 1.384 MB / 0.6642 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.173, allocations: 12.67 MB / 0.6766 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.177, allocations: 351.5 kB / 0.6769 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000925/1.178, allocations: 296 kB / 0.6772 GB, free: 7.641 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.006194/1.184, allocations: 3.888 MB / 0.681 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009139/1.185, allocations: 470.1 kB / 0.6815 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.198, allocations: 8.506 MB / 0.6898 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009436/1.207, allocations: 6.244 MB / 0.6959 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/1.208, allocations: 12 kB / 0.6959 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.325e-05/1.208, allocations: 23.91 kB / 0.6959 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2475/1.455, allocations: 17.4 MB / 0.7129 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/1.455, allocations: 9.188 kB / 0.7129 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.459, allocations: 0.8025 MB / 0.7137 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.462, allocations: 1.282 MB / 0.7149 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006529/1.463, allocations: 102.6 kB / 0.715 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.476, allocations: 11.56 MB / 0.7263 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.476, allocations: 15.44 kB / 0.7263 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.492, allocations: 11.2 MB / 0.7373 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/1.495, allocations: 1.081 MB / 0.7383 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007109/1.495, allocations: 89.12 kB / 0.7384 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.497, allocations: 231.7 kB / 0.7386 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/1.498, allocations: 334.1 kB / 0.739 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/1.498, allocations: 137.8 kB / 0.7391 GB, free: 136 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0042/1.503, allocations: 3.104 MB / 0.7421 GB, free: 134.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.503, allocations: 0 / 0.7421 GB, free: 134.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006247/1.509, allocations: 1.721 MB / 0.7438 GB, free: 134.7 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.001477/1.51, allocations: 0.5473 MB / 0.7443 GB, free: 134.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/1.522, allocations: 7.976 MB / 0.7521 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.523, allocations: 4 kB / 0.7521 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00605/1.529, allocations: 3.934 MB / 0.756 GB, free: 124.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/1.534, allocations: 1.055 MB / 0.757 GB, free: 123.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.56, allocations: 18.02 MB / 0.7746 GB, free: 106.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/1.566, allocations: 6.504 MB / 0.7809 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004875/1.571, allocations: 2.123 MB / 0.783 GB, free: 98.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.572, allocations: 375.4 kB / 0.7834 GB, free: 97.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.283e-06/1.572, allocations: 0 / 0.7834 GB, free: 97.86 MB / 478.1 MB Notification: Performance of Templates: time 0.5913/2.163, allocations: 69.5 MB / 0.8513 GB, free: 28.94 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 -s cvode -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