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.001567/0.001567, allocations: 111.7 kB / 17.29 MB, free: 6.207 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.001839/0.001839, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.349/1.349, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 46.72 kB / 300.8 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.08989, allocations: 49.45 MB / 350.3 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01444/0.1044, allocations: 13.28 MB / 363.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008862/0.1133, allocations: 4.759 MB / 368.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.1168, allocations: 79.69 kB / 368.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.1205, allocations: 0.9799 MB / 369.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.1249, allocations: 1.232 MB / 370.6 MB, free: 304 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1685/0.2934, allocations: 0.8927 MB / 371.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008788/0.3022, allocations: 4.198 MB / 375.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.3082, allocations: 3.262 MB / 378.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.3121, allocations: 1.796 MB / 380.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.317, allocations: 2.142 MB / 382.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001949/0.319, allocations: 0.5035 MB / 383.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.3225, allocations: 0.756 MB / 384.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3243, allocations: 1.137 MB / 385.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005324/0.3297, allocations: 2.144 MB / 387.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.3375, allocations: 5.768 MB / 393.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3376, allocations: 4 kB / 393.2 MB, free: 4.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3376, allocations: 1.094 kB / 393.2 MB, free: 4.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002282/0.3378, allocations: 0 / 393.2 MB, free: 4.172 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.0144/0.3522, allocations: 4.471 MB / 397.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3523, allocations: 17.25 kB / 397.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.3572, allocations: 0.82 MB / 398.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.3625, allocations: 2.35 MB / 400.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.3628, allocations: 243.6 kB / 401.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.3643, allocations: 324.2 kB / 401.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009348/0.3737, allocations: 4.29 MB / 405.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/0.3738, allocations: 8 kB / 405.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/0.3743, allocations: 131.9 kB / 405.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.3744, allocations: 150.4 kB / 406 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/0.382, allocations: 3.635 MB / 409.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.4067, allocations: 13.41 MB / 423 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/0.414, allocations: 6.957 MB / 430 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002649/0.4167, allocations: 1.386 MB / 431.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007726/0.4245, allocations: 3.859 MB / 435.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001473/0.426, allocations: 0.8494 MB / 436.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 5.1e-06/0.426, allocations: 0 / 436.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01343/0.4394, allocations: 6.538 MB / 442.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.4396, allocations: 226.9 kB / 442.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.4428, allocations: 1.906 MB / 444.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.443, allocations: 53.7 kB / 444.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.4443, allocations: 1.473 MB / 446.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.4447, allocations: 485.7 kB / 446.7 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.4452, allocations: 307.6 kB / 447 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.4453, allocations: 313.1 kB / 447.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.4464, allocations: 0.6637 MB / 448 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4478, allocations: 1.205 MB / 449.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.4504, allocations: 1.945 MB / 451.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4504, allocations: 4 kB / 451.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004226/0.4546, allocations: 2.428 MB / 453.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4547, allocations: 12 kB / 453.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.4547, allocations: 12 kB / 453.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007355/0.4554, allocations: 287.4 kB / 453.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.4568, allocations: 387.4 kB / 454.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.4627, allocations: 6.384 MB / 460.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.4646, allocations: 91.92 kB / 460.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.4648, allocations: 79.94 kB / 460.8 MB, free: 1.035 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.001941/0.4667, allocations: 1.038 MB / 461.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/0.4672, allocations: 197.6 kB / 462 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.4713, allocations: 2.257 MB / 464.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.4713, allocations: 16 kB / 464.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4714, allocations: 7.938 kB / 464.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.4714, allocations: 11.97 kB / 464.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008801/0.4802, allocations: 5.105 MB / 469.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.4802, allocations: 0 / 469.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.4811, allocations: 187.8 kB / 469.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.4823, allocations: 464 kB / 470.1 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.4825, allocations: 44.11 kB / 470.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4929, allocations: 11.16 MB / 481.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.493, allocations: 7.969 kB / 481.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.4981, allocations: 3.139 MB / 484.4 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4992, allocations: 430.5 kB / 484.9 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.4995, allocations: 36 kB / 484.9 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.5005, allocations: 63.89 kB / 485 MB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.5007, allocations: 105.2 kB / 485.1 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.5008, allocations: 39.98 kB / 485.1 MB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.5027, allocations: 1.318 MB / 486.4 MB, free: 6.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5027, allocations: 4.188 kB / 486.4 MB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002196/0.5049, allocations: 0.5742 MB / 487 MB, free: 5.91 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.001177/0.5061, allocations: 485.1 kB / 487.5 MB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.5111, allocations: 2.589 MB / 490.1 MB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5112, allocations: 0 / 490.1 MB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.5135, allocations: 1.587 MB / 491.6 MB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.5161, allocations: 0.5364 MB / 492.2 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.5268, allocations: 7.164 MB / 499.3 MB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.5288, allocations: 2.305 MB / 0.4899 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.5295, allocations: 147.3 kB / 0.49 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5295, allocations: 0 / 0.49 GB, free: 7.086 MB / 414.1 MB Notification: Performance of Templates: time 0.2855/0.815, allocations: 114 MB / 0.6014 GB, free: 92.7 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/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