Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 103.6 kB / 21.18 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 223.9 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.706/1.706, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 43.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 53.37 MB / 432.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01629/0.2391, allocations: 12.33 MB / 444.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2492, allocations: 4.951 MB / 449.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.2514, allocations: 99.38 kB / 449.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.2548, allocations: 1.107 MB / 450.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.2594, allocations: 1.422 MB / 452.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.2622, allocations: 0.9811 MB / 453.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005616/0.2678, allocations: 4.133 MB / 457.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.2706, allocations: 1.743 MB / 459.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.2745, allocations: 1.975 MB / 461.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.2785, allocations: 2.199 MB / 463.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008206/0.2793, allocations: 0.5039 MB / 463.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.281, allocations: 0.7536 MB / 464.6 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.2821, allocations: 1.149 MB / 465.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.2846, allocations: 1.696 MB / 467.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008718/0.2933, allocations: 6.887 MB / 474.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2933, allocations: 0 / 474.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2933, allocations: 4 kB / 474.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.2934, allocations: 0 / 474.3 MB, free: 12.71 MB / 382.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.01139/0.3048, allocations: 4.536 MB / 478.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3049, allocations: 11.97 kB / 478.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.3092, allocations: 0.83 MB / 479.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.3145, allocations: 2.42 MB / 482.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.3147, allocations: 242.4 kB / 482.3 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3153, allocations: 319.9 kB / 482.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008256/0.3236, allocations: 4.443 MB / 487.1 MB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-05/0.3237, allocations: 11.89 kB / 487.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.324, allocations: 132 kB / 487.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.3242, allocations: 154.4 kB / 487.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006723/0.3309, allocations: 3.629 MB / 491 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.3525, allocations: 11.38 MB / 0.4906 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.3582, allocations: 2.709 MB / 0.4933 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.3613, allocations: 1.516 MB / 0.4947 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007232/0.3685, allocations: 3.439 MB / 0.4981 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.3701, allocations: 1.02 MB / 0.4991 GB, free: 7.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.681e-06/0.3701, allocations: 4 kB / 0.4991 GB, free: 7.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0136/0.3837, allocations: 6.131 MB / 0.5051 GB, free: 1.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.3838, allocations: 230.9 kB / 0.5053 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.3866, allocations: 1.726 MB / 0.507 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.3867, allocations: 49.7 kB / 0.507 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.3883, allocations: 1.54 MB / 0.5085 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.3889, allocations: 0.4997 MB / 0.509 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/0.3894, allocations: 319.4 kB / 0.5093 GB, free: 12.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3895, allocations: 301.1 kB / 0.5096 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3907, allocations: 0.6792 MB / 0.5103 GB, free: 11.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.3925, allocations: 1.404 MB / 0.5116 GB, free: 10.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.3954, allocations: 1.966 MB / 0.5136 GB, free: 8.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.3954, allocations: 4 kB / 0.5136 GB, free: 8 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004483/0.3999, allocations: 2.421 MB / 0.5159 GB, free: 5.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4, allocations: 11.98 kB / 0.5159 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.4, allocations: 16 kB / 0.516 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.4009, allocations: 339.4 kB / 0.5163 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4023, allocations: 379.4 kB / 0.5166 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.4095, allocations: 6.344 MB / 0.5228 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.411, allocations: 104 kB / 0.5229 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4112, allocations: 76 kB / 0.523 GB, free: 13.99 MB / 446.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.001878/0.413, allocations: 1.031 MB / 0.524 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.4134, allocations: 198.8 kB / 0.5242 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.4178, allocations: 2.173 MB / 0.5263 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4178, allocations: 16 kB / 0.5263 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4179, allocations: 4.188 kB / 0.5264 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4179, allocations: 15.91 kB / 0.5264 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008335/0.4262, allocations: 4.35 MB / 0.5306 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4262, allocations: 0 / 0.5306 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/0.427, allocations: 183.8 kB / 0.5308 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.4284, allocations: 0.4959 MB / 0.5313 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.4285, allocations: 43.92 kB / 0.5313 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2202/0.6487, allocations: 10.78 MB / 0.5418 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6487, allocations: 2.938 kB / 0.5418 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/0.6539, allocations: 3.087 MB / 0.5449 GB, free: 94.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6549, allocations: 353.3 kB / 0.5452 GB, free: 94.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.6552, allocations: 31.2 kB / 0.5452 GB, free: 94.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.6561, allocations: 67.36 kB / 0.5453 GB, free: 94.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.6564, allocations: 110.6 kB / 0.5454 GB, free: 94.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/0.6565, allocations: 38.86 kB / 0.5454 GB, free: 94.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.6581, allocations: 1.168 MB / 0.5466 GB, free: 94.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6581, allocations: 0 / 0.5466 GB, free: 94.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001992/0.6601, allocations: 0.5838 MB / 0.5471 GB, free: 93.96 MB / 446.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 (100): * Single equations (assignments): 93 * 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.001758/0.6619, allocations: 0.4999 MB / 0.5476 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.665, allocations: 2.092 MB / 0.5497 GB, free: 92.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.665, allocations: 0 / 0.5497 GB, free: 92.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.6671, allocations: 1.559 MB / 0.5512 GB, free: 91.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.6692, allocations: 463 kB / 0.5516 GB, free: 91.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008669/0.6779, allocations: 5.882 MB / 0.5574 GB, free: 87.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.6794, allocations: 1.767 MB / 0.5591 GB, free: 86.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.6799, allocations: 138.7 kB / 0.5592 GB, free: 86.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6799, allocations: 0 / 0.5592 GB, free: 86.22 MB / 446.1 MB Notification: Performance of Templates: time 0.0926/0.7725, allocations: 115.1 MB / 0.6717 GB, free: 4.055 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.60013787681237]