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.001345/0.001345, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001212/0.001212, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009636/0.0009636, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3012, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01354/0.3148, allocations: 12.88 MB / 413.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00811/0.323, allocations: 4.248 MB / 417.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.3249, allocations: 75.75 kB / 417.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.3278, allocations: 1.017 MB / 418.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.332, allocations: 1.344 MB / 419.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.334, allocations: 0.8412 MB / 420.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.3391, allocations: 4.016 MB / 424.7 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.3428, allocations: 3.229 MB / 427.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.3456, allocations: 1.897 MB / 429.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.3489, allocations: 2.121 MB / 431.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.35, allocations: 0.5078 MB / 432.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.3518, allocations: 0.7146 MB / 433.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000986/0.3528, allocations: 1.134 MB / 434.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.3554, allocations: 2.132 MB / 436.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.3627, allocations: 6.767 MB / 443.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3627, allocations: 4 kB / 443.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3627, allocations: 0 / 443.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001459/0.3629, allocations: 0 / 443.2 MB, free: 13.67 MB / 366.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.01139/0.3743, allocations: 4.487 MB / 447.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3743, allocations: 19.89 kB / 447.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006107/0.375, allocations: 443.1 kB / 448.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.3791, allocations: 0.83 MB / 448.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005006/0.3842, allocations: 2.48 MB / 451.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.3844, allocations: 238.6 kB / 451.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006582/0.385, allocations: 319.9 kB / 452 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00718/0.3922, allocations: 4.25 MB / 456.2 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/0.3923, allocations: 11.94 kB / 456.2 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.3926, allocations: 128 kB / 456.4 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3928, allocations: 146.2 kB / 456.5 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006417/0.3992, allocations: 3.659 MB / 460.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.42, allocations: 13.35 MB / 473.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/0.426, allocations: 6.885 MB / 480.4 MB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/0.4282, allocations: 1.41 MB / 481.8 MB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00606/0.4343, allocations: 3.633 MB / 485.4 MB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4344, allocations: 43.56 kB / 485.5 MB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 4.669e-06/0.4344, allocations: 3.984 kB / 485.5 MB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01357/0.4479, allocations: 6.697 MB / 492.2 MB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.448, allocations: 64.72 kB / 492.2 MB, free: 10.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.4508, allocations: 1.859 MB / 494.1 MB, free: 8.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.451, allocations: 49.7 kB / 494.2 MB, free: 8.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009652/0.452, allocations: 1.459 MB / 495.6 MB, free: 7.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.4524, allocations: 0.5152 MB / 496.1 MB, free: 6.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.4528, allocations: 307.5 kB / 496.4 MB, free: 6.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.453, allocations: 301.1 kB / 496.7 MB, free: 6.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4541, allocations: 0.7652 MB / 497.5 MB, free: 5.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.4555, allocations: 1.224 MB / 498.7 MB, free: 4.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.4582, allocations: 2.1 MB / 0.4891 GB, free: 1.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.4582, allocations: 7.938 kB / 0.4891 GB, free: 1.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004369/0.4626, allocations: 2.676 MB / 0.4917 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.4627, allocations: 15.94 kB / 0.4917 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.4627, allocations: 16 kB / 0.4917 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.4641, allocations: 0.5062 MB / 0.4922 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4655, allocations: 383.4 kB / 0.4926 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/0.4739, allocations: 6.923 MB / 0.4993 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.4755, allocations: 79.86 kB / 0.4994 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4756, allocations: 75.98 kB / 0.4995 GB, free: 6.871 MB / 430.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.001682/0.4773, allocations: 1.048 MB / 0.5005 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.4777, allocations: 202.7 kB / 0.5007 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.4817, allocations: 2.504 MB / 0.5032 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4817, allocations: 15.94 kB / 0.5032 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.4817, allocations: 8 kB / 0.5032 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4817, allocations: 7.969 kB / 0.5032 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.4901, allocations: 5.525 MB / 0.5086 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.4902, allocations: 0 / 0.5086 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.4911, allocations: 211.7 kB / 0.5088 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4924, allocations: 0.4922 MB / 0.5093 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.4925, allocations: 39.98 kB / 0.5093 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.503, allocations: 11.44 MB / 0.5205 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5031, allocations: 0 / 0.5205 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.5087, allocations: 3.575 MB / 0.524 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.51, allocations: 463.7 kB / 0.5244 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.5103, allocations: 32 kB / 0.5244 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.5112, allocations: 71.94 kB / 0.5245 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.5115, allocations: 105.1 kB / 0.5246 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.5115, allocations: 47.98 kB / 0.5247 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00179/0.5133, allocations: 1.278 MB / 0.5259 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5134, allocations: 0 / 0.5259 GB, free: 10.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002057/0.5154, allocations: 0.5898 MB / 0.5265 GB, free: 10.21 MB / 462.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.005597/0.521, allocations: 4.194 MB / 0.5306 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.525, allocations: 2.414 MB / 0.5329 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.5251, allocations: 288 / 0.5329 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.5276, allocations: 1.739 MB / 0.5346 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.53, allocations: 0.5093 MB / 0.5351 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2553/0.7853, allocations: 21.34 MB / 0.556 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.7872, allocations: 2.365 MB / 0.5583 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.7885, allocations: 416.8 kB / 0.5587 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.7897, allocations: 1.148 MB / 0.5598 GB, free: 118.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7897, allocations: 7.281 kB / 0.5598 GB, free: 118.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08492/0.8747, allocations: 55.23 MB / 0.6137 GB, free: 63.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.12, allocations: 8.953 kB / 0.6137 GB, free: 63.85 MB / 462.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