Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.48 kB / 307.6 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.1004, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1636/0.264, allocations: 14.05 MB / 372.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008619/0.2727, allocations: 5.201 MB / 377.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.275, allocations: 84.47 kB / 377.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.278, allocations: 1.121 MB / 378.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.2821, allocations: 1.388 MB / 380 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.2847, allocations: 1.001 MB / 381 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.2896, allocations: 4.092 MB / 385.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.2933, allocations: 3.257 MB / 388.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.2964, allocations: 1.92 MB / 390.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.3001, allocations: 2.283 MB / 392.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.3013, allocations: 0.5086 MB / 393.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3035, allocations: 0.7852 MB / 393.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008852/0.3044, allocations: 1.149 MB / 395 MB, free: 2.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002923/0.3074, allocations: 2.151 MB / 397.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006851/0.3142, allocations: 6.798 MB / 404 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3143, allocations: 0 / 404 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3143, allocations: 0 / 404 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.3145, allocations: 3.938 kB / 404 MB, free: 12.19 MB / 318.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.01275/0.3272, allocations: 4.525 MB / 408.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3273, allocations: 15.95 kB / 408.5 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.3318, allocations: 0.8329 MB / 409.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/0.3364, allocations: 2.412 MB / 411.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.3366, allocations: 248.3 kB / 412 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.3372, allocations: 319.3 kB / 412.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00833/0.3456, allocations: 4.281 MB / 416.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.577e-05/0.3457, allocations: 11.91 kB / 416.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003434/0.346, allocations: 128 kB / 416.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.3462, allocations: 158.4 kB / 416.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006691/0.3529, allocations: 3.625 MB / 420.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.3732, allocations: 13.51 MB / 434 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007311/0.3806, allocations: 7.232 MB / 441.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.3835, allocations: 1.603 MB / 442.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/0.3906, allocations: 4.307 MB / 447.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.392, allocations: 0.8611 MB / 448 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.825e-06/0.392, allocations: 0 / 448 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01456/0.4066, allocations: 6.718 MB / 454.7 MB, free: 8.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4068, allocations: 230.9 kB / 455 MB, free: 8.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/0.4115, allocations: 1.932 MB / 456.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.4118, allocations: 53.7 kB / 456.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.4135, allocations: 1.486 MB / 458.4 MB, free: 4.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005366/0.4141, allocations: 487.5 kB / 458.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000608/0.4147, allocations: 311.3 kB / 459.2 MB, free: 3.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4148, allocations: 305.1 kB / 459.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4161, allocations: 0.6793 MB / 460.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4177, allocations: 1.225 MB / 461.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.4205, allocations: 1.962 MB / 463.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.4206, allocations: 8 kB / 463.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00443/0.425, allocations: 2.514 MB / 465.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4251, allocations: 12.28 kB / 465.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.4251, allocations: 16 kB / 465.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008988/0.426, allocations: 335.1 kB / 466.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4275, allocations: 375.4 kB / 466.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.4344, allocations: 6.808 MB / 473.4 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.436, allocations: 95.86 kB / 473.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.4363, allocations: 75.98 kB / 473.6 MB, free: 4.402 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 (193): * Single equations (assignments): 189 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001894/0.4382, allocations: 1.04 MB / 474.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.4387, allocations: 205.4 kB / 474.8 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.4429, allocations: 2.344 MB / 477.2 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.443, allocations: 15.94 kB / 477.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.443, allocations: 8 kB / 477.2 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.443, allocations: 3.984 kB / 477.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.452, allocations: 5.234 MB / 482.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4521, allocations: 4.094 kB / 482.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.4529, allocations: 183.7 kB / 482.6 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.4543, allocations: 0.5038 MB / 483.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.4544, allocations: 35.98 kB / 483.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.4659, allocations: 11.59 MB / 494.7 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.466, allocations: 4.031 kB / 494.7 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.4715, allocations: 3.242 MB / 498 MB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/0.4725, allocations: 442.4 kB / 498.4 MB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.473, allocations: 35.98 kB / 498.5 MB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.4741, allocations: 63.95 kB / 498.5 MB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4744, allocations: 97.17 kB / 498.6 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.4745, allocations: 39.98 kB / 498.7 MB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002276/0.4767, allocations: 1.335 MB / 500 MB, free: 8.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4768, allocations: 0 / 500 MB, free: 8.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002277/0.479, allocations: 0.5898 MB / 0.4888 GB, free: 8.398 MB / 414.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 (99): * Single equations (assignments): 92 * 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,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.001173/0.4802, allocations: 479.3 kB / 0.4893 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005275/0.4855, allocations: 2.631 MB / 0.4919 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4855, allocations: 0 / 0.4919 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.488, allocations: 1.607 MB / 0.4934 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.4908, allocations: 0.5696 MB / 0.494 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.5012, allocations: 5.873 MB / 0.4997 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.5038, allocations: 2.31 MB / 0.502 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.5043, allocations: 147.4 kB / 0.5021 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5043, allocations: 0 / 0.5021 GB, free: 10.76 MB / 430.1 MB Notification: Performance of Templates: time 0.2441/0.7485, allocations: 114.9 MB / 0.6144 GB, free: 74.88 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches