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.001625/0.001625, allocations: 112 kB / 17.05 MB, free: 6.086 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.001814/0.001814, allocations: 188 kB / 17.99 MB, free: 5.184 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.419/1.419, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3005, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01674/0.3172, allocations: 13.43 MB / 413.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.3272, allocations: 4.828 MB / 418.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.3299, allocations: 79.69 kB / 418.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.3333, allocations: 1.102 MB / 419.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004713/0.338, allocations: 1.375 MB / 421.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.3408, allocations: 0.9786 MB / 422 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006175/0.347, allocations: 4.076 MB / 426.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004307/0.3513, allocations: 3.249 MB / 429.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.3547, allocations: 1.908 MB / 431.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.3585, allocations: 2.16 MB / 433.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.3595, allocations: 0.5117 MB / 433.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.3615, allocations: 0.7497 MB / 434.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.3628, allocations: 1.149 MB / 435.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.3663, allocations: 2.143 MB / 438 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009287/0.3756, allocations: 6.817 MB / 444.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3756, allocations: 0 / 444.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3756, allocations: 4 kB / 444.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.3758, allocations: 0 / 444.8 MB, free: 12.02 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.01354/0.3894, allocations: 4.58 MB / 449.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.3894, allocations: 15.89 kB / 449.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.3906, allocations: 459.7 kB / 449.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.3951, allocations: 0.8339 MB / 450.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/0.4005, allocations: 2.48 MB / 453.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.4008, allocations: 242.4 kB / 453.4 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009466/0.4018, allocations: 319.9 kB / 453.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00942/0.4112, allocations: 4.284 MB / 458 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-05/0.4113, allocations: 7.953 kB / 458 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.4116, allocations: 135.9 kB / 458.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.4118, allocations: 154.4 kB / 458.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007341/0.4191, allocations: 3.629 MB / 461.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.4464, allocations: 13.28 MB / 475.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008216/0.4546, allocations: 6.97 MB / 482.2 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.4573, allocations: 1.351 MB / 483.5 MB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006942/0.4642, allocations: 3.841 MB / 487.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.4657, allocations: 0.8649 MB / 488.2 MB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.697e-06/0.4657, allocations: 3.938 kB / 488.2 MB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01871/0.4845, allocations: 6.58 MB / 494.8 MB, free: 8.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/0.4847, allocations: 222.9 kB / 495 MB, free: 7.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/0.4892, allocations: 1.906 MB / 496.9 MB, free: 6.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.4895, allocations: 49.7 kB / 497 MB, free: 6.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.4917, allocations: 1.514 MB / 498.5 MB, free: 4.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008326/0.4925, allocations: 0.4997 MB / 499 MB, free: 3.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008369/0.4934, allocations: 315.5 kB / 499.3 MB, free: 3.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4936, allocations: 301.1 kB / 499.6 MB, free: 3.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.4957, allocations: 0.6637 MB / 0.4885 GB, free: 2.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.4985, allocations: 1.221 MB / 0.4897 GB, free: 1.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005181/0.5037, allocations: 1.935 MB / 0.4916 GB, free: 15.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/0.5038, allocations: 4 kB / 0.4916 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007569/0.5114, allocations: 2.437 MB / 0.494 GB, free: 12.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.5115, allocations: 12 kB / 0.494 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.5115, allocations: 12 kB / 0.494 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.5128, allocations: 295.5 kB / 0.4943 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.5154, allocations: 375.4 kB / 0.4947 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/0.5245, allocations: 6.385 MB / 0.5009 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.5263, allocations: 91.89 kB / 0.501 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5265, allocations: 71.98 kB / 0.5011 GB, free: 4.996 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.002028/0.5285, allocations: 1.036 MB / 0.5021 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.529, allocations: 206.7 kB / 0.5023 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.5332, allocations: 2.265 MB / 0.5045 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.5332, allocations: 16.17 kB / 0.5045 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5333, allocations: 12 kB / 0.5045 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5333, allocations: 3.984 kB / 0.5045 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008939/0.5422, allocations: 5.099 MB / 0.5095 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5423, allocations: 3.938 kB / 0.5095 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.5431, allocations: 183.8 kB / 0.5097 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.5443, allocations: 468 kB / 0.5101 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.5445, allocations: 43.91 kB / 0.5102 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.5566, allocations: 11.15 MB / 0.521 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5566, allocations: 0 / 0.521 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.5623, allocations: 3.162 MB / 0.5241 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.5635, allocations: 443.6 kB / 0.5246 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.5638, allocations: 39.98 kB / 0.5246 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.5646, allocations: 60.08 kB / 0.5246 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.5649, allocations: 105.2 kB / 0.5247 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.838e-05/0.565, allocations: 39.98 kB / 0.5248 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.5672, allocations: 1.311 MB / 0.5261 GB, free: 10.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5672, allocations: 0 / 0.5261 GB, free: 10.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002301/0.5695, allocations: 0.582 MB / 0.5266 GB, free: 9.797 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.007199/0.5767, allocations: 4.074 MB / 0.5306 GB, free: 5.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.5806, allocations: 2.185 MB / 0.5327 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5807, allocations: 1.938 kB / 0.5327 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.5833, allocations: 1.582 MB / 0.5343 GB, free: 1.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.5858, allocations: 0.5394 MB / 0.5348 GB, free: 1.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2514/0.8372, allocations: 20.1 MB / 0.5545 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/0.839, allocations: 2.356 MB / 0.5568 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.8403, allocations: 408.5 kB / 0.5571 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/0.8415, allocations: 1.171 MB / 0.5583 GB, free: 119.4 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8415, allocations: 0 / 0.5583 GB, free: 119.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09828/0.9398, allocations: 54.49 MB / 0.6115 GB, free: 65.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.23, allocations: 12.59 kB / 0.6115 GB, free: 65.61 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