Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.001655/0.001655, allocations: 114.4 kB / 17.74 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.001907/0.001907, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 55.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09788, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2235/0.3214, allocations: 32.95 MB / 407.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.3429, allocations: 8.974 MB / 416.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007267/0.3502, allocations: 204.7 kB / 416.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01905/0.3693, allocations: 8.023 MB / 424.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.3853, allocations: 3.774 MB / 428.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008843/0.3941, allocations: 2.13 MB / 430.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02236/0.4165, allocations: 13.15 MB / 443.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04071/0.4573, allocations: 22.47 MB / 466.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.4714, allocations: 6.65 MB / 473 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01506/0.4865, allocations: 7.307 MB / 480.3 MB, free: 6.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007477/0.4941, allocations: 1.894 MB / 482.2 MB, free: 4.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.5045, allocations: 2.253 MB / 484.5 MB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008153/0.5127, allocations: 3.811 MB / 488.3 MB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01832/0.5311, allocations: 7.183 MB / 495.5 MB, free: 6.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04583/0.577, allocations: 25.13 MB / 0.5084 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.5771, allocations: 4 kB / 0.5084 GB, free: 13.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5771, allocations: 0 / 0.5084 GB, free: 13.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001002/0.5781, allocations: 0 / 0.5084 GB, free: 13.65 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05074/0.6289, allocations: 15.02 MB / 0.5231 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6289, allocations: 8.031 kB / 0.5231 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006051/0.635, allocations: 1.547 MB / 0.5246 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04415/0.6792, allocations: 7.839 MB / 0.5322 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/0.6967, allocations: 7.37 MB / 0.5394 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009313/0.6977, allocations: 0.8027 MB / 0.5402 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004725/0.7025, allocations: 1.062 MB / 0.5413 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.424/1.126, allocations: 17.67 MB / 0.5585 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009187/1.127, allocations: 16.58 kB / 0.5585 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00467/1.132, allocations: 449.3 kB / 0.559 GB, free: 129.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009644/1.133, allocations: 0.6647 MB / 0.5596 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/1.174, allocations: 16.98 MB / 0.5762 GB, free: 122.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09406/1.268, allocations: 56.62 MB / 0.6315 GB, free: 78.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02535/1.293, allocations: 40.06 MB / 0.6706 GB, free: 33.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006455/1.3, allocations: 4.48 MB / 0.675 GB, free: 28.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02062/1.32, allocations: 12.68 MB / 0.6874 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.32, allocations: 77.81 kB / 0.6874 GB, free: 16.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.114e-06/1.32, allocations: 0 / 0.6874 GB, free: 16.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04762/1.368, allocations: 21.7 MB / 0.7086 GB, free: 10.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.368, allocations: 136.7 kB / 0.7087 GB, free: 10.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.378, allocations: 4.825 MB / 0.7135 GB, free: 5.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.38, allocations: 97.7 kB / 0.7136 GB, free: 5.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004504/1.384, allocations: 4.957 MB / 0.7184 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002489/1.387, allocations: 1.527 MB / 0.7199 GB, free: 15.08 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003991/1.391, allocations: 1.196 MB / 0.7211 GB, free: 13.87 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.391, allocations: 309.1 kB / 0.7214 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.396, allocations: 2.968 MB / 0.7242 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007936/1.404, allocations: 5.244 MB / 0.7294 GB, free: 4.305 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/1.419, allocations: 8.717 MB / 0.7379 GB, free: 10.53 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.419, allocations: 20 kB / 0.7379 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02341/1.443, allocations: 10.06 MB / 0.7477 GB, free: 404 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.443, allocations: 43.92 kB / 0.7478 GB, free: 360 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.443, allocations: 72 kB / 0.7478 GB, free: 288 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2213/1.664, allocations: 1.664 MB / 0.7495 GB, free: 165.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/1.67, allocations: 1.398 MB / 0.7508 GB, free: 165.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.693, allocations: 17.79 MB / 0.7682 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007004/1.7, allocations: 338.8 kB / 0.7685 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.702, allocations: 301.4 kB / 0.7688 GB, free: 155.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008331/1.71, allocations: 3.949 MB / 0.7727 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.712, allocations: 0.5227 MB / 0.7732 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.724, allocations: 7.804 MB / 0.7808 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.724, allocations: 42.94 kB / 0.7808 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.464e-05/1.724, allocations: 15.47 kB / 0.7809 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/1.724, allocations: 25.05 kB / 0.7809 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.749, allocations: 17.52 MB / 0.798 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.749, allocations: 5.906 kB / 0.798 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.752, allocations: 0.7314 MB / 0.7987 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003797/1.756, allocations: 1.558 MB / 0.8002 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004912/1.757, allocations: 97.91 kB / 0.8003 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/1.778, allocations: 21.23 MB / 0.8211 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.778, allocations: 14.56 kB / 0.8211 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/1.802, allocations: 11.48 MB / 0.8323 GB, free: 114 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003406/1.805, allocations: 1.183 MB / 0.8334 GB, free: 113 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.806, allocations: 91.98 kB / 0.8335 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.809, allocations: 223.8 kB / 0.8337 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/1.81, allocations: 331.3 kB / 0.8341 GB, free: 112.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002752/1.81, allocations: 128 kB / 0.8342 GB, free: 112.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00459/1.815, allocations: 3.259 MB / 0.8374 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.41e-07/1.815, allocations: 0 / 0.8374 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007504/1.822, allocations: 1.893 MB / 0.8392 GB, free: 107.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01602/1.838, allocations: 12.21 MB / 0.8511 GB, free: 94.65 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01374/1.852, allocations: 8.268 MB / 0.8592 GB, free: 86.34 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.852, allocations: 4.062 kB / 0.8592 GB, free: 86.34 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00719/1.859, allocations: 4.653 MB / 0.8638 GB, free: 81.59 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006482/1.866, allocations: 1.309 MB / 0.865 GB, free: 80.29 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09792/1.964, allocations: 65.79 MB / 0.9293 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007218/1.971, allocations: 6.843 MB / 0.936 GB, free: 4.586 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005388/1.977, allocations: 1.928 MB / 0.9379 GB, free: 2.652 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2053/2.182, allocations: 4.054 MB / 0.9418 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/2.182, allocations: 0 / 0.9418 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2162/2.398, allocations: 153.6 MB / 1.092 GB, free: 50.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.48/24.88, allocations: 8.781 kB / 1.092 GB, free: 50.64 MB / 0.5294 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches