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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 120 kB / 18.5 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 209.7 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.83 kB / 373.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 53.32 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2044/0.3084, allocations: 14.13 MB / 441.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008725/0.3171, allocations: 5.219 MB / 446.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.3198, allocations: 83.75 kB / 446.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.3233, allocations: 1.165 MB / 447.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.3287, allocations: 1.426 MB / 449.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.3322, allocations: 1.005 MB / 450.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00803/0.3402, allocations: 4.125 MB / 454.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005132/0.3453, allocations: 2.269 MB / 456.6 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004853/0.3502, allocations: 1.945 MB / 458.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005742/0.3559, allocations: 2.319 MB / 460.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.358, allocations: 0.509 MB / 461.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.3613, allocations: 0.7772 MB / 462.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.3633, allocations: 1.154 MB / 463.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.3673, allocations: 2.153 MB / 465.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009415/0.3767, allocations: 6.864 MB / 472.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3767, allocations: 0 / 472.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3767, allocations: 0 / 472.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.3769, allocations: 1.125 kB / 472.3 MB, free: 1.465 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.01415/0.391, allocations: 4.618 MB / 476.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3911, allocations: 9.625 kB / 476.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.3959, allocations: 0.828 MB / 477.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.401, allocations: 2.5 MB / 480.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4012, allocations: 250.4 kB / 480.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.4018, allocations: 320.6 kB / 480.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0091/0.4109, allocations: 4.292 MB / 485.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-05/0.411, allocations: 7.891 kB / 485.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.4114, allocations: 132 kB / 485.3 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.4115, allocations: 154.4 kB / 485.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/0.4189, allocations: 3.633 MB / 489 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.4436, allocations: 13.38 MB / 0.4907 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00858/0.4522, allocations: 7.093 MB / 0.4976 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003398/0.4556, allocations: 1.534 MB / 0.4991 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007941/0.4635, allocations: 4.322 MB / 0.5033 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.465, allocations: 0.865 MB / 0.5041 GB, free: 6.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.176e-06/0.465, allocations: 3.938 kB / 0.5041 GB, free: 6.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01459/0.4796, allocations: 6.757 MB / 0.5107 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.4798, allocations: 226.9 kB / 0.511 GB, free: 14.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/0.4829, allocations: 1.932 MB / 0.5128 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.483, allocations: 53.7 kB / 0.5129 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.4847, allocations: 1.525 MB / 0.5144 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/0.4852, allocations: 0.4997 MB / 0.5149 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.4857, allocations: 315.5 kB / 0.5152 GB, free: 10.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4858, allocations: 301.1 kB / 0.5155 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.487, allocations: 0.6793 MB / 0.5161 GB, free: 9.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4887, allocations: 1.229 MB / 0.5173 GB, free: 8.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.4916, allocations: 1.962 MB / 0.5192 GB, free: 5.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.4916, allocations: 4 kB / 0.5192 GB, free: 5.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004667/0.4963, allocations: 2.519 MB / 0.5217 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4963, allocations: 12 kB / 0.5217 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4964, allocations: 16 kB / 0.5217 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/0.4973, allocations: 335.4 kB / 0.5221 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.4987, allocations: 379.4 kB / 0.5224 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/0.5062, allocations: 6.804 MB / 0.5291 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.508, allocations: 87.91 kB / 0.5291 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.5081, allocations: 75.98 kB / 0.5292 GB, free: 11.27 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.001981/0.5101, allocations: 1.041 MB / 0.5302 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.5106, allocations: 218.6 kB / 0.5304 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.5149, allocations: 2.321 MB / 0.5327 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.515, allocations: 16 kB / 0.5327 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.515, allocations: 7.938 kB / 0.5327 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.515, allocations: 7.984 kB / 0.5327 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009034/0.524, allocations: 5.213 MB / 0.5378 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.524, allocations: 4.094 kB / 0.5378 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.5249, allocations: 175.8 kB / 0.538 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.5264, allocations: 0.5 MB / 0.5385 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5265, allocations: 35.98 kB / 0.5385 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.5397, allocations: 11.58 MB / 0.5498 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5397, allocations: 4.031 kB / 0.5498 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/0.5456, allocations: 3.241 MB / 0.553 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.5468, allocations: 443.6 kB / 0.5534 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/0.5473, allocations: 40 kB / 0.5535 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5484, allocations: 59.95 kB / 0.5535 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.5487, allocations: 113 kB / 0.5536 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.5488, allocations: 39.98 kB / 0.5537 GB, free: 1.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.5512, allocations: 1.335 MB / 0.555 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5512, allocations: 0 / 0.555 GB, free: 15.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002512/0.5537, allocations: 0.5897 MB / 0.5555 GB, free: 15.24 MB / 478.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.001792/0.5555, allocations: 472 kB / 0.556 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.5595, allocations: 2.16 MB / 0.5581 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5595, allocations: 4 kB / 0.5581 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.5622, allocations: 1.547 MB / 0.5596 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.565, allocations: 0.5537 MB / 0.5602 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.577, allocations: 5.887 MB / 0.5659 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.5799, allocations: 2.356 MB / 0.5682 GB, free: 2.207 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.5814, allocations: 409.2 kB / 0.5686 GB, free: 1.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.5819, allocations: 143.3 kB / 0.5687 GB, free: 1.664 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5819, allocations: 0 / 0.5687 GB, free: 1.664 MB / 478.1 MB Notification: Performance of Templates: time 0.06117/0.6431, allocations: 31.65 MB / 0.5997 GB, free: 2.285 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.330452097579837]