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.001434/0.001434, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001583, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.59 kB / 306.3 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08754, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01478/0.1024, allocations: 13.92 MB / 370.7 MB, free: 312 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1761/0.2784, allocations: 5.134 MB / 375.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.2807, allocations: 80.66 kB / 375.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.2836, allocations: 0.9843 MB / 376.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.288, allocations: 1.261 MB / 378.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.2903, allocations: 0.9208 MB / 379.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006433/0.2968, allocations: 4.422 MB / 383.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.3006, allocations: 2.725 MB / 386.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.3041, allocations: 1.533 MB / 387.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003778/0.3079, allocations: 2.003 MB / 389.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008615/0.3087, allocations: 299.2 kB / 390.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3109, allocations: 0.5618 MB / 390.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007887/0.3117, allocations: 0.9194 MB / 391.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.3141, allocations: 1.918 MB / 393.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.3196, allocations: 6.622 MB / 400.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3196, allocations: 0 / 400.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3196, allocations: 0 / 400.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3198, allocations: 3.938 kB / 400.1 MB, free: 13.66 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.01081/0.3306, allocations: 4.508 MB / 404.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3307, allocations: 13.66 kB / 404.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004493/0.3351, allocations: 0.8369 MB / 405.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/0.3396, allocations: 2.373 MB / 407.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.3398, allocations: 241 kB / 408.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008045/0.3407, allocations: 322.5 kB / 408.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3508, allocations: 4.289 MB / 412.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.3509, allocations: 7.906 kB / 412.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006014/0.3515, allocations: 124 kB / 412.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.3517, allocations: 158.4 kB / 413 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007709/0.3594, allocations: 3.625 MB / 416.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/0.3835, allocations: 13.5 MB / 430.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.39, allocations: 7.243 MB / 437.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/0.3932, allocations: 1.603 MB / 438.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007784/0.401, allocations: 4.312 MB / 443.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.4025, allocations: 0.8728 MB / 444.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 3.597e-06/0.4025, allocations: 0 / 444.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01412/0.4167, allocations: 6.704 MB / 450.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4168, allocations: 226.9 kB / 451 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.4199, allocations: 1.928 MB / 453 MB, free: 8.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.42, allocations: 49.7 kB / 453 MB, free: 8.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.4214, allocations: 1.5 MB / 454.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.4218, allocations: 489.2 kB / 455 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/0.4224, allocations: 307.3 kB / 455.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4225, allocations: 301.1 kB / 455.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.4238, allocations: 0.6754 MB / 456.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.4253, allocations: 1.232 MB / 457.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.4279, allocations: 1.959 MB / 459.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4279, allocations: 7.938 kB / 459.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004421/0.4324, allocations: 2.522 MB / 462 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4324, allocations: 12 kB / 462 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.4324, allocations: 12 kB / 462 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008688/0.4333, allocations: 343.2 kB / 462.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4347, allocations: 367.4 kB / 462.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.441, allocations: 6.28 MB / 469 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.4426, allocations: 95.84 kB / 469.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.4428, allocations: 68 kB / 469.1 MB, free: 7.57 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.00183/0.4446, allocations: 1.052 MB / 470.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.4451, allocations: 201.5 kB / 470.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.4493, allocations: 2.345 MB / 472.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4493, allocations: 16 kB / 472.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.4494, allocations: 11.94 kB / 472.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.4494, allocations: 7.969 kB / 472.8 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/0.4582, allocations: 5.243 MB / 478 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4583, allocations: 0 / 478 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.4591, allocations: 171.8 kB / 478.2 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4605, allocations: 0.4999 MB / 478.7 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4606, allocations: 39.98 kB / 478.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.4711, allocations: 10.63 MB / 489.4 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4712, allocations: 4.031 kB / 489.4 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.4764, allocations: 3.244 MB / 492.6 MB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/0.4774, allocations: 434.5 kB / 493 MB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/0.4779, allocations: 32 kB / 493.1 MB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.479, allocations: 63.95 kB / 493.1 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.4793, allocations: 97.16 kB / 493.2 MB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.4794, allocations: 47.98 kB / 493.3 MB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002322/0.4817, allocations: 1.327 MB / 494.6 MB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.4817, allocations: 0 / 494.6 MB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002528/0.4842, allocations: 0.5977 MB / 495.2 MB, free: 12.54 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.001415/0.4857, allocations: 476.4 kB / 495.6 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.4895, allocations: 2.223 MB / 497.9 MB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4896, allocations: 0 / 497.9 MB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.4922, allocations: 1.604 MB / 499.5 MB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.4952, allocations: 0.5266 MB / 0.4883 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5062, allocations: 7.234 MB / 0.4953 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.5088, allocations: 2.376 MB / 0.4977 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001714/0.5105, allocations: 401.2 kB / 0.498 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.5111, allocations: 131.4 kB / 0.4982 GB, free: 13.55 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5111, allocations: 4 kB / 0.4982 GB, free: 13.54 MB / 430.1 MB Notification: Performance of Templates: time 0.0533/0.5644, allocations: 29.64 MB / 0.5271 GB, free: 192 kB / 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/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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches