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.001487/0.001487, allocations: 106.5 kB / 16.62 MB, free: 6.812 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.001663/0.001663, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.27 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1011, allocations: 49.44 MB / 349.6 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01543/0.1166, allocations: 13.29 MB / 362.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008823/0.1255, allocations: 4.755 MB / 367.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.1282, allocations: 75.75 kB / 367.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003885/0.1322, allocations: 0.9837 MB / 368.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.1371, allocations: 1.24 MB / 369.9 MB, free: 308 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1637/0.3009, allocations: 0.8921 MB / 370.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.3056, allocations: 4.192 MB / 375 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.3088, allocations: 3.255 MB / 378.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.3111, allocations: 1.804 MB / 380.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.3135, allocations: 2.143 MB / 382.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007396/0.3142, allocations: 0.504 MB / 382.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3158, allocations: 0.7527 MB / 383.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.3167, allocations: 1.142 MB / 384.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.3186, allocations: 2.135 MB / 386.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.324, allocations: 6.733 MB / 393.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3241, allocations: 5.438 kB / 393.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3241, allocations: 0 / 393.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.537e-05/0.3242, allocations: 0 / 393.5 MB, free: 3.484 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.008741/0.3329, allocations: 4.473 MB / 398 MB, free: 492 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3329, allocations: 11.34 kB / 398 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/0.3368, allocations: 0.8243 MB / 398.8 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.3402, allocations: 2.354 MB / 401.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3403, allocations: 242.2 kB / 401.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.3408, allocations: 319.9 kB / 401.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006814/0.3476, allocations: 4.296 MB / 406 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.162e-05/0.3477, allocations: 4 kB / 406 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.348, allocations: 132 kB / 406.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.3482, allocations: 146.4 kB / 406.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.3548, allocations: 3.631 MB / 409.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.3794, allocations: 13.41 MB / 423.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00733/0.3868, allocations: 6.952 MB / 430.3 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.3892, allocations: 1.385 MB / 431.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/0.3962, allocations: 3.855 MB / 435.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.3976, allocations: 0.8571 MB / 436.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 3.116e-06/0.3976, allocations: 0 / 436.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.0133/0.4109, allocations: 6.531 MB / 442.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4111, allocations: 230.6 kB / 443.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.414, allocations: 1.91 MB / 445 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.4142, allocations: 53.7 kB / 445.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4154, allocations: 1.473 MB / 446.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/0.4158, allocations: 486.8 kB / 447 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/0.4164, allocations: 307.3 kB / 447.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.4165, allocations: 305.1 kB / 447.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.4176, allocations: 0.6637 MB / 448.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4191, allocations: 1.213 MB / 449.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.4217, allocations: 1.939 MB / 451.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.4217, allocations: 4 kB / 451.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004247/0.426, allocations: 2.428 MB / 453.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4261, allocations: 12 kB / 453.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.4261, allocations: 12 kB / 453.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/0.4269, allocations: 292.5 kB / 454.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.4283, allocations: 379.4 kB / 454.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.4341, allocations: 6.398 MB / 461 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4357, allocations: 91.86 kB / 461 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.4358, allocations: 76 kB / 461.1 MB, free: 36 kB / 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.001751/0.4376, allocations: 1.035 MB / 462.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.438, allocations: 197.6 kB / 462.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/0.4421, allocations: 2.261 MB / 464.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4422, allocations: 20 kB / 464.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/0.4422, allocations: 11.94 kB / 464.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4422, allocations: 7.969 kB / 464.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009464/0.4517, allocations: 5.092 MB / 469.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4517, allocations: 0 / 469.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.4526, allocations: 187.7 kB / 469.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4538, allocations: 467 kB / 470.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4539, allocations: 39.98 kB / 470.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.4651, allocations: 11.17 MB / 481.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4652, allocations: 3.938 kB / 481.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.471, allocations: 3.135 MB / 484.7 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.4722, allocations: 430.5 kB / 485.1 MB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.4728, allocations: 32 kB / 485.2 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.474, allocations: 67.89 kB / 485.2 MB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.4742, allocations: 101.2 kB / 485.3 MB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.4743, allocations: 43.98 kB / 485.4 MB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002438/0.4768, allocations: 1.315 MB / 486.7 MB, free: 5.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4768, allocations: 0 / 486.7 MB, free: 5.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002907/0.4797, allocations: 0.5781 MB / 487.3 MB, free: 4.918 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.001309/0.481, allocations: 479.5 kB / 487.7 MB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00559/0.4866, allocations: 2.59 MB / 490.3 MB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.4867, allocations: 0 / 490.3 MB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002621/0.4893, allocations: 1.582 MB / 491.9 MB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.4925, allocations: 0.543 MB / 492.5 MB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5037, allocations: 7.195 MB / 499.7 MB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.5061, allocations: 2.348 MB / 0.4902 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001533/0.5077, allocations: 413 kB / 0.4906 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.5081, allocations: 131.4 kB / 0.4908 GB, free: 5.641 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5081, allocations: 0 / 0.4908 GB, free: 5.641 MB / 414.1 MB Notification: Performance of Templates: time 0.05373/0.5619, allocations: 30.04 MB / 0.5201 GB, free: 7.988 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