Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001704/0.001704, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2736, allocations: 50.54 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01655/0.2902, allocations: 13.52 MB / 422.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00957/0.2998, allocations: 4.524 MB / 426.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.3024, allocations: 75.75 kB / 426.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.3054, allocations: 1.001 MB / 427.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.3103, allocations: 1.274 MB / 429.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.3129, allocations: 0.8874 MB / 430 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006154/0.3191, allocations: 4.074 MB / 434.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.3235, allocations: 3.236 MB / 437.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.3267, allocations: 1.893 MB / 439.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.3305, allocations: 2.246 MB / 441.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.3315, allocations: 0.5078 MB / 442 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.3332, allocations: 0.7302 MB / 442.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.3346, allocations: 1.149 MB / 443.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.3379, allocations: 2.132 MB / 446 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008914/0.3468, allocations: 6.813 MB / 452.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3469, allocations: 8 kB / 452.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3469, allocations: 0 / 452.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001727/0.3471, allocations: 0 / 452.8 MB, free: 5.238 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.01437/0.3615, allocations: 4.525 MB / 457.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.3615, allocations: 16.02 kB / 457.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008083/0.3624, allocations: 439.1 kB / 457.8 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3673, allocations: 0.8612 MB / 458.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/0.3734, allocations: 2.512 MB / 461.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.3737, allocations: 238.4 kB / 461.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.3747, allocations: 323.9 kB / 461.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.3846, allocations: 4.254 MB / 466 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.639e-05/0.3847, allocations: 3.953 kB / 466 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.3852, allocations: 136 kB / 466.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.3853, allocations: 142.2 kB / 466.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007204/0.3926, allocations: 3.659 MB / 469.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0246/0.4172, allocations: 13.43 MB / 483.3 MB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/0.4248, allocations: 6.893 MB / 490.2 MB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.4276, allocations: 1.426 MB / 491.7 MB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006762/0.4344, allocations: 3.862 MB / 495.5 MB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.4345, allocations: 59.53 kB / 495.6 MB, free: 8.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.206e-06/0.4345, allocations: 0 / 495.6 MB, free: 8.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01423/0.4488, allocations: 6.697 MB / 0.4905 GB, free: 1.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4488, allocations: 68.7 kB / 0.4906 GB, free: 1.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.452, allocations: 1.888 MB / 0.4924 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.4523, allocations: 49.7 kB / 0.4925 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.4535, allocations: 1.475 MB / 0.4939 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/0.454, allocations: 0.519 MB / 0.4944 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005679/0.4546, allocations: 303.5 kB / 0.4947 GB, free: 13.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4548, allocations: 305.1 kB / 0.495 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4561, allocations: 0.7652 MB / 0.4957 GB, free: 12.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.4578, allocations: 1.216 MB / 0.4969 GB, free: 11.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.461, allocations: 2.115 MB / 0.499 GB, free: 8.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.461, allocations: 4 kB / 0.499 GB, free: 8.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004958/0.466, allocations: 2.676 MB / 0.5016 GB, free: 6.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.466, allocations: 12 kB / 0.5016 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.4661, allocations: 12 kB / 0.5016 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.4675, allocations: 0.5014 MB / 0.5021 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4691, allocations: 383.4 kB / 0.5025 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/0.4786, allocations: 6.928 MB / 0.5093 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.4801, allocations: 75.86 kB / 0.5093 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.4803, allocations: 71.98 kB / 0.5094 GB, free: 13.9 MB / 446.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.00201/0.4824, allocations: 1.055 MB / 0.5104 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/0.4829, allocations: 206.7 kB / 0.5106 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.4875, allocations: 2.5 MB / 0.5131 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.4875, allocations: 19.94 kB / 0.5131 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.4876, allocations: 7.984 kB / 0.5131 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.4876, allocations: 3.984 kB / 0.5131 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009601/0.4972, allocations: 5.545 MB / 0.5185 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.4972, allocations: 4.188 kB / 0.5185 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4983, allocations: 215.7 kB / 0.5187 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.4996, allocations: 499.8 kB / 0.5192 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4998, allocations: 39.98 kB / 0.5192 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.5118, allocations: 11.44 MB / 0.5304 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5119, allocations: 3.938 kB / 0.5304 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/0.518, allocations: 3.571 MB / 0.5339 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.519, allocations: 479.5 kB / 0.5344 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.5193, allocations: 28 kB / 0.5344 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.5202, allocations: 71.89 kB / 0.5345 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.5205, allocations: 109.1 kB / 0.5346 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.5206, allocations: 36 kB / 0.5346 GB, free: 3.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001995/0.5226, allocations: 1.31 MB / 0.5359 GB, free: 1.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5226, allocations: 0 / 0.5359 GB, free: 1.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001992/0.5246, allocations: 0.5937 MB / 0.5364 GB, free: 1.168 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.2188/0.7434, allocations: 4.189 MB / 0.5405 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.7473, allocations: 2.404 MB / 0.5429 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7473, allocations: 3.938 kB / 0.5429 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.7494, allocations: 1.736 MB / 0.5446 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.7517, allocations: 0.5256 MB / 0.5451 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/0.7777, allocations: 21.4 MB / 0.566 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7794, allocations: 2.387 MB / 0.5683 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.7806, allocations: 425 kB / 0.5687 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.7817, allocations: 1.159 MB / 0.5699 GB, free: 101.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.7817, allocations: 0 / 0.5699 GB, free: 101.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/0.9248, allocations: 55.64 MB / 0.6242 GB, free: 46.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.43, allocations: 16.31 kB / 0.6242 GB, free: 46.38 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches