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.001129/0.001129, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 207.4 kB / 19.36 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 58.94 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08519, allocations: 50.54 MB / 358.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1566/0.2418, allocations: 14.06 MB / 373 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008173/0.2501, allocations: 5.202 MB / 378.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.252, allocations: 82.66 kB / 378.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.2547, allocations: 1.121 MB / 379.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.2583, allocations: 1.384 MB / 380.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.2605, allocations: 0.9986 MB / 381.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.2645, allocations: 4.115 MB / 385.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.2678, allocations: 3.266 MB / 389.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.2703, allocations: 1.925 MB / 391.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.2731, allocations: 2.293 MB / 393.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005979/0.2737, allocations: 0.5087 MB / 393.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.2752, allocations: 0.7699 MB / 394.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007742/0.276, allocations: 1.145 MB / 395.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.2777, allocations: 2.154 MB / 397.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.2827, allocations: 6.844 MB / 404.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2827, allocations: 0 / 404.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2827, allocations: 0 / 404.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-05/0.2828, allocations: 1.344 kB / 404.8 MB, free: 12.39 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.009402/0.2922, allocations: 4.517 MB / 409.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2923, allocations: 8.031 kB / 409.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/0.2964, allocations: 0.8316 MB / 410.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004247/0.3007, allocations: 2.494 MB / 412.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3008, allocations: 238.2 kB / 412.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/0.3013, allocations: 315.9 kB / 413.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006506/0.3078, allocations: 4.286 MB / 417.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-05/0.3079, allocations: 11.84 kB / 417.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.3082, allocations: 135.5 kB / 417.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.3083, allocations: 154.4 kB / 417.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/0.3138, allocations: 3.636 MB / 421.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.3319, allocations: 13.32 MB / 434.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006812/0.3388, allocations: 7.237 MB / 442 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/0.3414, allocations: 1.597 MB / 443.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006844/0.3482, allocations: 4.294 MB / 447.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.3495, allocations: 0.8712 MB / 448.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 2.906e-06/0.3495, allocations: 0 / 448.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01194/0.3615, allocations: 6.706 MB / 455.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.3616, allocations: 222.9 kB / 455.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.3641, allocations: 1.932 MB / 457.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.3642, allocations: 57.7 kB / 457.6 MB, free: 6.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.3654, allocations: 1.488 MB / 459.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.3658, allocations: 489.3 kB / 459.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.3662, allocations: 307.3 kB / 459.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.3663, allocations: 301.1 kB / 460.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3674, allocations: 0.6793 MB / 460.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3688, allocations: 1.229 MB / 462.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.3714, allocations: 1.961 MB / 464.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3714, allocations: 4 kB / 464.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003773/0.3752, allocations: 2.518 MB / 466.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3752, allocations: 12 kB / 466.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3752, allocations: 12 kB / 466.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.376, allocations: 347.3 kB / 466.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.3774, allocations: 375.4 kB / 467.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.3835, allocations: 6.796 MB / 474.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3847, allocations: 103.9 kB / 474.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3848, allocations: 68 kB / 474.3 MB, free: 4.539 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.001509/0.3864, allocations: 1.036 MB / 475.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.3866, allocations: 217.4 kB / 475.5 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.3905, allocations: 2.333 MB / 477.9 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3906, allocations: 27.86 kB / 477.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3906, allocations: 8 kB / 477.9 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3906, allocations: 3.984 kB / 477.9 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007824/0.3984, allocations: 5.225 MB / 483.1 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3985, allocations: 0 / 483.1 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.3992, allocations: 183.7 kB / 483.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.4005, allocations: 0.5 MB / 483.8 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/0.4006, allocations: 39.98 kB / 483.8 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.4115, allocations: 11.58 MB / 495.4 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4116, allocations: 4.031 kB / 495.4 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006962/0.4185, allocations: 3.238 MB / 498.7 MB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.42, allocations: 442.4 kB / 499.1 MB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.4204, allocations: 28 kB / 499.1 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.4218, allocations: 71.94 kB / 499.2 MB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.4221, allocations: 97.17 kB / 499.3 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.4223, allocations: 39.98 kB / 499.3 MB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002926/0.4252, allocations: 1.331 MB / 0.4889 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4252, allocations: 4 kB / 0.4889 GB, free: 9.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002951/0.4282, allocations: 0.5861 MB / 0.4895 GB, free: 8.562 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.001696/0.4299, allocations: 473.9 kB / 0.4899 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005928/0.4359, allocations: 2.233 MB / 0.4921 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4359, allocations: 0 / 0.4921 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004241/0.4401, allocations: 1.609 MB / 0.4937 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.4442, allocations: 0.5477 MB / 0.4942 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.4608, allocations: 5.812 MB / 0.4999 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/0.4646, allocations: 2.372 MB / 0.5022 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00249/0.4672, allocations: 401.2 kB / 0.5026 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/0.4679, allocations: 131.4 kB / 0.5027 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4679, allocations: 0 / 0.5027 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Templates: time 0.2243/0.6922, allocations: 30.6 MB / 0.5326 GB, free: 141.2 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 -s gbode -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