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.001556/0.001556, allocations: 107.9 kB / 16.92 MB, free: 5.785 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.00184/0.00184, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.104/2.104, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002066, allocations: 39.19 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1286, allocations: 49.46 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01732/0.146, allocations: 13.41 MB / 363.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1571, allocations: 4.852 MB / 368.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.1614, allocations: 79.69 kB / 368.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005731/0.1672, allocations: 1.099 MB / 369.6 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2978/0.465, allocations: 1.371 MB / 371 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.4693, allocations: 0.9759 MB / 372 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008456/0.4778, allocations: 4.04 MB / 376 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007403/0.4852, allocations: 3.258 MB / 379.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.4906, allocations: 1.908 MB / 381.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007219/0.4979, allocations: 2.153 MB / 383.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00287/0.5008, allocations: 0.5156 MB / 383.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.5062, allocations: 0.7583 MB / 384.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003725/0.5099, allocations: 1.14 MB / 385.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009454/0.5194, allocations: 2.146 MB / 387.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.5364, allocations: 6.752 MB / 394.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.5365, allocations: 0 / 394.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 5e-06/0.5365, allocations: 3.984 kB / 394.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003485/0.5369, allocations: 0 / 394.6 MB, free: 2.75 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02409/0.561, allocations: 4.502 MB / 399.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.5611, allocations: 13.64 kB / 399.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001981/0.5631, allocations: 460 kB / 399.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00853/0.5716, allocations: 0.825 MB / 400.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/0.5805, allocations: 2.397 MB / 402.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.5809, allocations: 248.7 kB / 403.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.5825, allocations: 315.9 kB / 403.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.6008, allocations: 4.289 MB / 407.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.6011, allocations: 7.906 kB / 407.7 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001643/0.6028, allocations: 131 kB / 407.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/0.6031, allocations: 154.4 kB / 408 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.6173, allocations: 3.628 MB / 411.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/0.6605, allocations: 13.41 MB / 425 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6718, allocations: 6.96 MB / 432 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/0.6757, allocations: 1.381 MB / 433.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.6862, allocations: 3.867 MB / 437.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/0.6886, allocations: 0.8561 MB / 438.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 4.499e-06/0.6886, allocations: 0 / 438.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01531/0.7039, allocations: 6.523 MB / 444.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.7041, allocations: 226.9 kB / 444.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.7082, allocations: 1.906 MB / 446.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.7084, allocations: 53.7 kB / 446.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.71, allocations: 1.476 MB / 448.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/0.7105, allocations: 487.5 kB / 448.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/0.711, allocations: 307.3 kB / 449 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7112, allocations: 305.1 kB / 449.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.7123, allocations: 0.6676 MB / 450 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.714, allocations: 1.216 MB / 451.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.7168, allocations: 1.934 MB / 453.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.7168, allocations: 4 kB / 453.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004933/0.7218, allocations: 2.432 MB / 455.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.7218, allocations: 12 kB / 455.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.7218, allocations: 12 kB / 455.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/0.7228, allocations: 291.5 kB / 455.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.7243, allocations: 379.4 kB / 456.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00719/0.7315, allocations: 6.376 MB / 462.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.734, allocations: 91.8 kB / 462.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005411/0.7345, allocations: 84.05 kB / 462.8 MB, free: 14.73 MB / 382.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.004051/0.7386, allocations: 1.031 MB / 463.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/0.74, allocations: 197.6 kB / 464 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.746, allocations: 2.265 MB / 466.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.7461, allocations: 23.94 kB / 466.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-05/0.7461, allocations: 4 kB / 466.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.7462, allocations: 3.984 kB / 466.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.7615, allocations: 5.108 MB / 471.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7615, allocations: 0 / 471.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/0.7625, allocations: 187.7 kB / 471.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.7639, allocations: 471.4 kB / 472.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.764, allocations: 35.98 kB / 472.1 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.7773, allocations: 11.16 MB / 483.3 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7774, allocations: 4.031 kB / 483.3 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006447/0.7838, allocations: 3.132 MB / 486.4 MB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.7855, allocations: 430.5 kB / 486.8 MB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/0.786, allocations: 43.92 kB / 486.9 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7872, allocations: 59.95 kB / 486.9 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.7876, allocations: 101.2 kB / 487 MB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.7877, allocations: 39.98 kB / 487.1 MB, free: 5.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002838/0.7906, allocations: 1.315 MB / 488.4 MB, free: 4.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7906, allocations: 0 / 488.4 MB, free: 4.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004036/0.7946, allocations: 0.5782 MB / 489 MB, free: 3.625 MB / 398.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.0102/0.8049, allocations: 4.066 MB / 493 MB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007515/0.8125, allocations: 2.597 MB / 495.6 MB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.8126, allocations: 4 kB / 495.6 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.8163, allocations: 1.579 MB / 497.2 MB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/0.8221, allocations: 0.5434 MB / 497.7 MB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05947/0.8816, allocations: 22.37 MB / 0.5079 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/0.8861, allocations: 2.356 MB / 0.5102 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002056/0.8882, allocations: 413.1 kB / 0.5106 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/0.8904, allocations: 1.175 MB / 0.5118 GB, free: 14.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.864e-06/0.8904, allocations: 0 / 0.5118 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.494/1.384, allocations: 53.23 MB / 0.5638 GB, free: 134 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/20.45, allocations: 13.08 kB / 0.5638 GB, free: 134 MB / 446.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