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_Conveyor.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_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",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.001622/0.001622, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001836/0.001836, 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0143/0.3098, allocations: 13.43 MB / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.319, allocations: 4.828 MB / 418.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.3215, allocations: 79.75 kB / 418.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.3247, allocations: 1.137 MB / 419.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.3297, allocations: 1.426 MB / 421.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.3325, allocations: 0.971 MB / 422.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005607/0.3381, allocations: 4.073 MB / 426.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/0.3418, allocations: 3.249 MB / 429.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.3446, allocations: 1.924 MB / 431.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.3479, allocations: 2.168 MB / 433.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.349, allocations: 0.5078 MB / 434 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.351, allocations: 0.7458 MB / 434.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3525, allocations: 1.149 MB / 435.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003159/0.3556, allocations: 2.147 MB / 438.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.3637, allocations: 6.829 MB / 444.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3637, allocations: 0 / 444.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3638, allocations: 0 / 444.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001833/0.3639, allocations: 3.938 kB / 444.9 MB, free: 11.91 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0122/0.3761, allocations: 4.576 MB / 449.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3762, allocations: 15.89 kB / 449.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007976/0.377, allocations: 459.7 kB / 450 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/0.3815, allocations: 0.8339 MB / 450.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/0.3866, allocations: 2.476 MB / 453.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3868, allocations: 242.4 kB / 453.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007348/0.3875, allocations: 316 kB / 453.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008692/0.3962, allocations: 4.292 MB / 458.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/0.3964, allocations: 11.89 kB / 458.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/0.3968, allocations: 132 kB / 458.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3969, allocations: 150.4 kB / 458.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006713/0.4036, allocations: 3.629 MB / 462 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/0.4269, allocations: 13.28 MB / 475.3 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006771/0.4337, allocations: 6.962 MB / 482.3 MB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.436, allocations: 1.363 MB / 483.6 MB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.4431, allocations: 3.849 MB / 487.5 MB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.4445, allocations: 0.8533 MB / 488.3 MB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.825e-06/0.4445, allocations: 4 kB / 488.3 MB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01279/0.4573, allocations: 6.576 MB / 494.9 MB, free: 8.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4574, allocations: 222.9 kB / 495.1 MB, free: 7.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.4608, allocations: 1.91 MB / 497 MB, free: 5.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.461, allocations: 45.7 kB / 497.1 MB, free: 5.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.4624, allocations: 1.514 MB / 498.6 MB, free: 4.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.4629, allocations: 0.5074 MB / 499.1 MB, free: 3.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/0.4635, allocations: 311.5 kB / 499.4 MB, free: 3.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.4636, allocations: 301.1 kB / 499.7 MB, free: 3.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.4647, allocations: 0.6676 MB / 0.4886 GB, free: 2.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.4661, allocations: 1.209 MB / 0.4898 GB, free: 1.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.4686, allocations: 1.947 MB / 0.4917 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.4686, allocations: 4 kB / 0.4917 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003803/0.4724, allocations: 2.437 MB / 0.4941 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4725, allocations: 12 kB / 0.4941 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.4725, allocations: 16 kB / 0.4941 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.4732, allocations: 287.5 kB / 0.4944 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4746, allocations: 379.4 kB / 0.4948 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.4803, allocations: 6.377 MB / 0.501 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.482, allocations: 95.95 kB / 0.5011 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.4822, allocations: 76 kB / 0.5012 GB, free: 4.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002005/0.4842, allocations: 1.032 MB / 0.5022 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.4847, allocations: 210.7 kB / 0.5024 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.4884, allocations: 2.265 MB / 0.5046 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4885, allocations: 16 kB / 0.5046 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.4885, allocations: 4 kB / 0.5046 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4885, allocations: 7.969 kB / 0.5046 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007829/0.4963, allocations: 5.103 MB / 0.5096 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4964, allocations: 4 kB / 0.5096 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.4972, allocations: 179.7 kB / 0.5098 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.4985, allocations: 466.3 kB / 0.5102 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4986, allocations: 39.92 kB / 0.5103 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.5097, allocations: 11.16 MB / 0.5212 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5098, allocations: 4.031 kB / 0.5212 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.5154, allocations: 3.158 MB / 0.5242 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.5166, allocations: 443.6 kB / 0.5247 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/0.5172, allocations: 36 kB / 0.5247 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5183, allocations: 55.95 kB / 0.5247 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.5186, allocations: 105.2 kB / 0.5249 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.5187, allocations: 43.98 kB / 0.5249 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002333/0.521, allocations: 1.311 MB / 0.5262 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.761e-06/0.521, allocations: 0 / 0.5262 GB, free: 10.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002374/0.5234, allocations: 0.5858 MB / 0.5267 GB, free: 9.688 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006129/0.5296, allocations: 4.075 MB / 0.5307 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.5331, allocations: 2.182 MB / 0.5329 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5332, allocations: 0 / 0.5329 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.5355, allocations: 1.588 MB / 0.5344 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.5387, allocations: 0.5395 MB / 0.5349 GB, free: 1.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/0.7836, allocations: 20.09 MB / 0.5545 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.7854, allocations: 2.353 MB / 0.5568 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.7867, allocations: 411.8 kB / 0.5572 GB, free: 120.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.7879, allocations: 1.175 MB / 0.5584 GB, free: 119.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7879, allocations: 0 / 0.5584 GB, free: 119.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08602/0.8739, allocations: 54.49 MB / 0.6116 GB, free: 65.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.68, allocations: 16.41 kB / 0.6116 GB, free: 65.39 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.csv --start-time 0 --stop-time 20 --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_Conveyor.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches