Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_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.001711/0.001711, allocations: 104.4 kB / 16.92 MB, free: 6.184 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.00216/0.00216, allocations: 191.4 kB / 17.85 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.427/2.427, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 44.86 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1552, allocations: 49.45 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01861/0.1739, allocations: 12.87 MB / 363.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1844, allocations: 4.259 MB / 367.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.1877, allocations: 75.69 kB / 367.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.1916, allocations: 0.9747 MB / 368.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.1973, allocations: 1.3 MB / 369.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3077/0.505, allocations: 0.8281 MB / 370.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.5178, allocations: 3.993 MB / 374.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01146/0.5293, allocations: 3.243 MB / 377.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006714/0.5361, allocations: 1.883 MB / 379.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008051/0.5442, allocations: 2.109 MB / 381.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002826/0.5471, allocations: 0.5094 MB / 382.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.5518, allocations: 0.7184 MB / 382.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002956/0.5548, allocations: 1.134 MB / 384.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007726/0.5625, allocations: 2.129 MB / 386.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.5744, allocations: 6.714 MB / 392.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.5745, allocations: 0 / 392.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5745, allocations: 1.375 kB / 392.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002919/0.5748, allocations: 0 / 392.9 MB, free: 4.074 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.02/0.5948, allocations: 4.396 MB / 397.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.538e-05/0.5949, allocations: 13.52 kB / 397.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.5972, allocations: 443.9 kB / 397.8 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009472/0.6067, allocations: 0.8215 MB / 398.6 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00877/0.6155, allocations: 2.4 MB / 401 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.616, allocations: 231 kB / 401.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.6177, allocations: 322.5 kB / 401.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.6334, allocations: 4.258 MB / 405.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.6336, allocations: 7.984 kB / 405.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006329/0.6342, allocations: 124.9 kB / 405.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002802/0.6345, allocations: 146.2 kB / 406.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.6484, allocations: 3.658 MB / 409.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04914/0.6976, allocations: 13.49 MB / 423.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.7097, allocations: 6.863 MB / 430.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004795/0.7146, allocations: 1.426 MB / 431.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.7275, allocations: 3.641 MB / 435.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.7276, allocations: 43.56 kB / 435.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 9.768e-06/0.7277, allocations: 3.984 kB / 435.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.02299/0.7507, allocations: 6.645 MB / 441.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.7508, allocations: 68.72 kB / 441.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/0.7572, allocations: 1.851 MB / 443.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003634/0.7576, allocations: 57.7 kB / 443.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/0.7598, allocations: 1.43 MB / 445.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009547/0.7607, allocations: 491 kB / 445.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.762, allocations: 303.3 kB / 446 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.7622, allocations: 305.1 kB / 446.3 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.7646, allocations: 0.7613 MB / 447.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.767, allocations: 1.226 MB / 448.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.7711, allocations: 2.11 MB / 450.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.7712, allocations: 4 kB / 450.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006306/0.7775, allocations: 2.66 MB / 453.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.7776, allocations: 15.94 kB / 453.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.7776, allocations: 12 kB / 453.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.7793, allocations: 0.5061 MB / 453.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.7811, allocations: 384.2 kB / 454 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.7912, allocations: 6.932 MB / 460.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.7933, allocations: 79.8 kB / 461 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.7937, allocations: 68 kB / 461.1 MB, free: 0.8164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002923/0.7966, allocations: 1.059 MB / 462.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007875/0.7974, allocations: 193.7 kB / 462.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/0.8042, allocations: 2.496 MB / 464.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.8043, allocations: 12 kB / 464.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-05/0.8043, allocations: 11.94 kB / 464.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.8044, allocations: 7.969 kB / 464.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.8228, allocations: 5.535 MB / 470.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.8229, allocations: 4 kB / 470.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.8241, allocations: 219.7 kB / 470.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.8256, allocations: 0.5033 MB / 471.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.8258, allocations: 32 kB / 471.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.8382, allocations: 11.44 MB / 482.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.8383, allocations: 3.984 kB / 482.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006927/0.8452, allocations: 3.564 MB / 486.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.8465, allocations: 454.6 kB / 486.6 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006504/0.8472, allocations: 31.98 kB / 486.6 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.8486, allocations: 67.95 kB / 486.7 MB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/0.849, allocations: 113 kB / 486.8 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.8491, allocations: 43.98 kB / 486.8 MB, free: 6.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004093/0.8533, allocations: 1.282 MB / 488.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8533, allocations: 0 / 488.1 MB, free: 4.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004617/0.8579, allocations: 0.5859 MB / 488.7 MB, free: 4.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,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.01027/0.8682, allocations: 4.181 MB / 492.9 MB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007459/0.8757, allocations: 2.845 MB / 495.7 MB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.8758, allocations: 4 kB / 495.7 MB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.8788, allocations: 1.727 MB / 497.4 MB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/0.8841, allocations: 0.5041 MB / 497.9 MB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07045/0.9546, allocations: 23.74 MB / 0.5095 GB, free: 1.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/0.9599, allocations: 2.366 MB / 0.5118 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003459/0.9634, allocations: 420.8 kB / 0.5122 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/0.9669, allocations: 1.144 MB / 0.5133 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/0.967, allocations: 0 / 0.5133 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4513/1.418, allocations: 53.96 MB / 0.566 GB, free: 130.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/19.97, allocations: 16.34 kB / 0.566 GB, free: 130.1 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.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 0.0001 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches