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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 104.4 kB / 16.62 MB, free: 6.809 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.001425/0.001425, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.431/1.431, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 46.58 kB / 300.3 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, allocations: 49.45 MB / 349.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2297/0.3417, allocations: 24.39 MB / 374.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.3567, allocations: 7.732 MB / 381.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007116/0.3638, allocations: 171.4 kB / 382 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.3828, allocations: 7.92 MB / 389.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.3938, allocations: 2.696 MB / 392.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.3991, allocations: 1.686 MB / 394.3 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.4132, allocations: 11.08 MB / 405.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03833/0.4515, allocations: 26.88 MB / 432.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.4631, allocations: 5.95 MB / 438.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.4744, allocations: 6.58 MB / 444.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004077/0.4785, allocations: 1.715 MB / 446.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006628/0.4852, allocations: 2.128 MB / 448.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004962/0.4902, allocations: 3.359 MB / 452 MB, free: 84 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01718/0.5074, allocations: 6.354 MB / 458.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02759/0.535, allocations: 23 MB / 481.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.5351, allocations: 0 / 481.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5351, allocations: 8 kB / 481.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000602/0.5357, allocations: 0 / 481.4 MB, free: 2.633 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.04236/0.578, allocations: 13.45 MB / 494.8 MB, free: 5.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5781, allocations: 12.03 kB / 494.8 MB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006496/0.5846, allocations: 1.616 MB / 496.4 MB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03513/0.6198, allocations: 6.216 MB / 0.4909 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/0.6362, allocations: 7.076 MB / 0.4978 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000745/0.637, allocations: 0.7187 MB / 0.4985 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004284/0.6413, allocations: 0.9568 MB / 0.4994 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/0.686, allocations: 16.18 MB / 0.5152 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003494/0.6864, allocations: 19.89 kB / 0.5152 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003814/0.6902, allocations: 400 kB / 0.5156 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005775/0.6908, allocations: 0.5554 MB / 0.5162 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4171/1.108, allocations: 15.12 MB / 0.5309 GB, free: 115.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07827/1.186, allocations: 52.69 MB / 0.5824 GB, free: 76.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/1.202, allocations: 20.12 MB / 0.602 GB, free: 54.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/1.207, allocations: 3.665 MB / 0.6056 GB, free: 51.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/1.207, allocations: 187.6 kB / 0.6058 GB, free: 50.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/1.207, allocations: 82.03 kB / 0.6059 GB, free: 50.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 6.022e-06/1.207, allocations: 0 / 0.6059 GB, free: 50.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04544/1.253, allocations: 20.66 MB / 0.6261 GB, free: 30.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.253, allocations: 98.97 kB / 0.6261 GB, free: 29.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005526/1.259, allocations: 4.485 MB / 0.6305 GB, free: 25.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000841/1.259, allocations: 105.6 kB / 0.6306 GB, free: 25.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.261, allocations: 4.207 MB / 0.6347 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.263, allocations: 1.547 MB / 0.6362 GB, free: 19.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/1.265, allocations: 1.2 MB / 0.6374 GB, free: 18.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/1.265, allocations: 301.1 kB / 0.6377 GB, free: 18.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/1.269, allocations: 3.096 MB / 0.6407 GB, free: 14.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/1.274, allocations: 5.25 MB / 0.6459 GB, free: 8.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.284, allocations: 8.94 MB / 0.6546 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/1.284, allocations: 16 kB / 0.6546 GB, free: 14.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01945/1.304, allocations: 9.91 MB / 0.6643 GB, free: 4.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.882e-05/1.304, allocations: 35.98 kB / 0.6643 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/1.304, allocations: 68 kB / 0.6644 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/1.308, allocations: 1.38 MB / 0.6657 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/1.314, allocations: 1.388 MB / 0.6671 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/1.333, allocations: 12.53 MB / 0.6793 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.338, allocations: 351.5 kB / 0.6796 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.34, allocations: 292 kB / 0.6799 GB, free: 4.57 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 (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.01075/1.351, allocations: 3.9 MB / 0.6837 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/1.353, allocations: 462.3 kB / 0.6842 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.37, allocations: 8.575 MB / 0.6926 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01119/1.381, allocations: 6.296 MB / 0.6987 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.81e-05/1.381, allocations: 12 kB / 0.6987 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.44e-05/1.381, allocations: 23.91 kB / 0.6987 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2959/1.677, allocations: 17.75 MB / 0.7161 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.677, allocations: 7.938 kB / 0.7161 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.681, allocations: 0.8022 MB / 0.7169 GB, free: 148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/1.684, allocations: 1.291 MB / 0.7181 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007874/1.685, allocations: 103.6 kB / 0.7182 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.698, allocations: 11.43 MB / 0.7294 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.698, allocations: 7.75 kB / 0.7294 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.715, allocations: 11.29 MB / 0.7404 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002937/1.718, allocations: 1.101 MB / 0.7415 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.719, allocations: 85.84 kB / 0.7416 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.722, allocations: 237.4 kB / 0.7418 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007713/1.723, allocations: 331.1 kB / 0.7421 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.723, allocations: 137.7 kB / 0.7422 GB, free: 135.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004797/1.728, allocations: 3.108 MB / 0.7453 GB, free: 134.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.728, allocations: 0 / 0.7453 GB, free: 134.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007736/1.736, allocations: 1.723 MB / 0.747 GB, free: 132.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.01749/1.753, allocations: 12.3 MB / 0.759 GB, free: 122.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03285/1.786, allocations: 15.25 MB / 0.7739 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.786, allocations: 2.562 kB / 0.7739 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007107/1.794, allocations: 3.991 MB / 0.7778 GB, free: 103.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005628/1.799, allocations: 1.051 MB / 0.7788 GB, free: 102.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1323/1.931, allocations: 76.7 MB / 0.8537 GB, free: 20.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/1.945, allocations: 6.517 MB / 0.8601 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007885/1.953, allocations: 2.107 MB / 0.8621 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006848/1.96, allocations: 3.56 MB / 0.8656 GB, free: 8.559 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.96, allocations: 4 kB / 0.8656 GB, free: 8.555 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3807/2.341, allocations: 141.1 MB / 1.003 GB, free: 44.72 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/2.341, allocations: 325.1 kB / 1.004 GB, free: 44.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.96/7.301, allocations: 0 / 1.004 GB, free: 44.35 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > 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