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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001279/0.001279, allocations: 182 kB / 17.56 MB, free: 6.203 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: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 11.98 kB / 301.4 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 50.41 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01348/0.1234, allocations: 12.63 MB / 364.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009582/0.133, allocations: 4.72 MB / 369.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.1352, allocations: 71.75 kB / 369.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.1381, allocations: 0.9642 MB / 370.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1849/0.323, allocations: 1.243 MB / 371.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.3261, allocations: 0.8911 MB / 372.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.3322, allocations: 4.316 MB / 376.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.3355, allocations: 2.691 MB / 379.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3383, allocations: 1.336 MB / 380.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.3408, allocations: 1.756 MB / 382.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.3412, allocations: 205.9 kB / 382.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3425, allocations: 452.9 kB / 383.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.3432, allocations: 0.78 MB / 383.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.3451, allocations: 1.774 MB / 385.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.3507, allocations: 6.363 MB / 392 MB, free: 5.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3508, allocations: 4 kB / 392 MB, free: 5.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3508, allocations: 3.469 kB / 392 MB, free: 5.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001371/0.3509, allocations: 0 / 392 MB, free: 5.238 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.009371/0.3603, allocations: 3.789 MB / 395.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3603, allocations: 12.94 kB / 395.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.3647, allocations: 0.8284 MB / 396.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.3684, allocations: 2.355 MB / 399 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.3685, allocations: 247 kB / 399.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.3689, allocations: 318.9 kB / 399.6 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.3763, allocations: 4.289 MB / 403.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.3764, allocations: 3.938 kB / 403.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/0.3767, allocations: 135.9 kB / 404 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.3769, allocations: 154.4 kB / 404.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00622/0.3831, allocations: 3.636 MB / 407.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.4032, allocations: 13.47 MB / 421.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.4099, allocations: 6.951 MB / 428.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.4122, allocations: 1.399 MB / 429.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006536/0.4187, allocations: 3.867 MB / 433.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.4201, allocations: 0.8572 MB / 434.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 2.975e-06/0.4201, allocations: 4 kB / 434.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01261/0.4327, allocations: 6.558 MB / 440.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.4329, allocations: 222.9 kB / 441.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.4357, allocations: 1.906 MB / 443 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.4359, allocations: 49.7 kB / 443.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4372, allocations: 1.478 MB / 444.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.4376, allocations: 486.4 kB / 445 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.4378, allocations: 137.6 kB / 445.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.4379, allocations: 309.1 kB / 445.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.439, allocations: 0.6676 MB / 446.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4405, allocations: 1.209 MB / 447.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.4431, allocations: 1.944 MB / 449.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4431, allocations: 4 kB / 449.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004113/0.4472, allocations: 2.436 MB / 451.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.4472, allocations: 15.94 kB / 451.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4473, allocations: 24.22 kB / 451.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/0.448, allocations: 283.2 kB / 452 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.4494, allocations: 383.4 kB / 452.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.455, allocations: 5.866 MB / 458.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4567, allocations: 92.11 kB / 458.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4569, allocations: 76 kB / 458.4 MB, free: 3.668 MB / 366.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.002007/0.4589, allocations: 1.036 MB / 459.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.4592, allocations: 201.5 kB / 459.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4632, allocations: 2.261 MB / 461.9 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4632, allocations: 16 kB / 461.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4632, allocations: 8 kB / 461.9 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4633, allocations: 11.97 kB / 462 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/0.4714, allocations: 5.114 MB / 467.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4715, allocations: 0 / 467.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/0.4723, allocations: 179.8 kB / 467.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.4735, allocations: 471.6 kB / 467.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.4736, allocations: 43.92 kB / 467.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009728/0.4834, allocations: 10.21 MB / 478 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4834, allocations: 0 / 478 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.4885, allocations: 3.146 MB / 481.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009859/0.4895, allocations: 434.5 kB / 481.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.4898, allocations: 39.94 kB / 481.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.4907, allocations: 71.94 kB / 481.6 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.491, allocations: 97.11 kB / 481.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.4911, allocations: 43.98 kB / 481.8 MB, free: 11.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.4931, allocations: 1.315 MB / 483.1 MB, free: 10.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4931, allocations: 0 / 483.1 MB, free: 10.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002114/0.4952, allocations: 0.5782 MB / 483.7 MB, free: 9.488 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.00113/0.4963, allocations: 477.9 kB / 484.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.4998, allocations: 2.18 MB / 486.3 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4998, allocations: 0 / 486.3 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.5021, allocations: 1.594 MB / 487.9 MB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.5049, allocations: 0.5052 MB / 488.4 MB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.5153, allocations: 7.351 MB / 495.8 MB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.5175, allocations: 2.352 MB / 498.1 MB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001593/0.5191, allocations: 413 kB / 498.5 MB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.5195, allocations: 131.4 kB / 498.7 MB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5195, allocations: 3.938 kB / 498.7 MB, free: 10.48 MB / 414.1 MB Notification: Performance of Templates: time 0.05327/0.5728, allocations: 28.61 MB / 0.5149 GB, free: 14.19 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/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/jenkins/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