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.001442/0.001442, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001595/0.001595, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009703/0.0009703, allocations: 51.92 kB / 351.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2618, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01466/0.2765, allocations: 13.42 MB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009582/0.2861, allocations: 4.826 MB / 419.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.289, allocations: 79.69 kB / 419.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.2923, allocations: 1.103 MB / 420.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.2974, allocations: 1.382 MB / 422.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.3003, allocations: 0.9836 MB / 423.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.306, allocations: 4.07 MB / 427.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.3097, allocations: 3.253 MB / 430.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3122, allocations: 1.904 MB / 432.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.3151, allocations: 2.164 MB / 434.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006609/0.3158, allocations: 0.5078 MB / 435.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3171, allocations: 0.7458 MB / 435.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008917/0.318, allocations: 1.149 MB / 437 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.32, allocations: 2.147 MB / 439.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005984/0.326, allocations: 6.792 MB / 445.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.326, allocations: 3.984 kB / 445.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.326, allocations: 0 / 445.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001735/0.3262, allocations: 4 kB / 445.9 MB, free: 12.11 MB / 366.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.01082/0.337, allocations: 4.483 MB / 450.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.3371, allocations: 8.031 kB / 450.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/0.3413, allocations: 0.8239 MB / 451.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/0.3455, allocations: 2.459 MB / 453.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.3457, allocations: 242.4 kB / 453.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000502/0.3462, allocations: 319.9 kB / 454.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006821/0.3531, allocations: 4.284 MB / 458.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.941e-05/0.3532, allocations: 4 kB / 458.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.3535, allocations: 136 kB / 458.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.3536, allocations: 154.4 kB / 458.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005753/0.3594, allocations: 3.629 MB / 462.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/0.3782, allocations: 13.25 MB / 475.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007023/0.3853, allocations: 6.97 MB / 482.7 MB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.3876, allocations: 1.378 MB / 484 MB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/0.3941, allocations: 3.829 MB / 487.9 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.3954, allocations: 0.8688 MB / 488.7 MB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.936e-06/0.3954, allocations: 7.875 kB / 488.7 MB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01243/0.4078, allocations: 6.524 MB / 495.3 MB, free: 8.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.408, allocations: 218.9 kB / 495.5 MB, free: 8.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.4109, allocations: 1.906 MB / 497.4 MB, free: 6.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.4111, allocations: 49.7 kB / 497.4 MB, free: 6.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.4125, allocations: 1.47 MB / 498.9 MB, free: 5.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.413, allocations: 489 kB / 499.4 MB, free: 4.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/0.4135, allocations: 311.3 kB / 499.7 MB, free: 4.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4136, allocations: 309.1 kB / 500 MB, free: 4.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4147, allocations: 0.6637 MB / 0.4889 GB, free: 3.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.4162, allocations: 1.217 MB / 0.4901 GB, free: 2.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.4187, allocations: 1.935 MB / 0.492 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4188, allocations: 4 kB / 0.492 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003986/0.4228, allocations: 2.432 MB / 0.4944 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.4228, allocations: 12 kB / 0.4944 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.4228, allocations: 16 kB / 0.4944 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.4236, allocations: 291.4 kB / 0.4947 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4249, allocations: 375.4 kB / 0.495 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/0.4307, allocations: 6.378 MB / 0.5013 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.4322, allocations: 91.92 kB / 0.5014 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4324, allocations: 79.92 kB / 0.5014 GB, free: 5.805 MB / 430.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.001716/0.4341, allocations: 1.032 MB / 0.5024 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.4344, allocations: 193.7 kB / 0.5026 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.4383, allocations: 2.265 MB / 0.5048 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4383, allocations: 12.19 kB / 0.5048 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4384, allocations: 16 kB / 0.5049 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.4384, allocations: 3.984 kB / 0.5049 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.4459, allocations: 5.095 MB / 0.5098 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4459, allocations: 8.016 kB / 0.5098 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.4467, allocations: 187.8 kB / 0.51 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.4479, allocations: 460 kB / 0.5105 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/0.448, allocations: 39.92 kB / 0.5105 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.4582, allocations: 11.14 MB / 0.5214 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4582, allocations: 0 / 0.5214 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.4632, allocations: 3.15 MB / 0.5245 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/0.464, allocations: 430.5 kB / 0.5249 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.4643, allocations: 39.98 kB / 0.5249 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.4651, allocations: 60.08 kB / 0.525 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.4654, allocations: 109.1 kB / 0.5251 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.712e-05/0.4655, allocations: 39.98 kB / 0.5251 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001793/0.4673, allocations: 1.311 MB / 0.5264 GB, free: 11.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4673, allocations: 0 / 0.5264 GB, free: 11.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00196/0.4692, allocations: 0.5898 MB / 0.527 GB, free: 10.64 MB / 462.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.001161/0.4704, allocations: 478.5 kB / 0.5274 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.4739, allocations: 2.187 MB / 0.5296 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.474, allocations: 0 / 0.5296 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.4764, allocations: 1.587 MB / 0.5311 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.479, allocations: 0.5434 MB / 0.5316 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009869/0.4888, allocations: 5.745 MB / 0.5372 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1885/0.6773, allocations: 2.295 MB / 0.5395 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/0.678, allocations: 144.5 kB / 0.5396 GB, free: 128.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.678, allocations: 3.719 kB / 0.5396 GB, free: 128.2 MB / 462.1 MB Notification: Performance of Templates: time 0.0759/0.7539, allocations: 114.1 MB / 0.651 GB, free: 24.19 MB / 462.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