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.002107/0.002107, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.00203/0.00203, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.572/1.572, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.914e-05, allocations: 2.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02008/0.02011, allocations: 13.85 MB / 286.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1282/0.1483, allocations: 5.097 MB / 291.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.1508, allocations: 101.3 kB / 291.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.1539, allocations: 1.116 MB / 292.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.1583, allocations: 1.47 MB / 293.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.1609, allocations: 0.9931 MB / 294.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005543/0.1664, allocations: 4.313 MB / 299.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.1691, allocations: 1.759 MB / 300.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.1737, allocations: 2.897 MB / 303.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.177, allocations: 2.028 MB / 305.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009143/0.1779, allocations: 0.5073 MB / 306.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.1796, allocations: 0.761 MB / 307.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.1803, allocations: 1.208 MB / 308.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.1821, allocations: 1.456 MB / 309.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.1875, allocations: 6.953 MB / 316.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1875, allocations: 0 / 316.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1875, allocations: 0 / 316.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.1876, allocations: 0 / 316.7 MB, free: 3.496 MB / 266.7 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.01166/0.1993, allocations: 5.168 MB / 321.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1993, allocations: 11.98 kB / 321.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.2047, allocations: 1.244 MB / 323.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.2106, allocations: 2.392 MB / 325.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.2109, allocations: 242 kB / 325.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008155/0.2117, allocations: 320 kB / 326.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.2237, allocations: 4.51 MB / 330.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.2238, allocations: 11.95 kB / 330.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.2242, allocations: 130.9 kB / 330.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/0.2244, allocations: 152.6 kB / 330.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.2315, allocations: 3.233 MB / 334.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03583/0.2673, allocations: 21.19 MB / 355.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00603/0.2733, allocations: 2.539 MB / 357.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/0.2766, allocations: 1.426 MB / 359.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008462/0.2851, allocations: 3.545 MB / 362.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.2868, allocations: 1.017 MB / 363.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 3.276e-06/0.2868, allocations: 4 kB / 363.8 MB, free: 3.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01389/0.3007, allocations: 5.408 MB / 369.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.3008, allocations: 226.9 kB / 369.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.3043, allocations: 2.113 MB / 371.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.3046, allocations: 49.7 kB / 371.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.3065, allocations: 1.725 MB / 373.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007601/0.3073, allocations: 0.553 MB / 373.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000699/0.308, allocations: 405.1 kB / 374.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.3082, allocations: 476.8 kB / 374.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3093, allocations: 0.5342 MB / 375.3 MB, free: 7.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.3117, allocations: 1.546 MB / 376.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.3148, allocations: 1.986 MB / 378.8 MB, free: 3.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.3148, allocations: 8 kB / 378.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004561/0.3193, allocations: 2.209 MB / 381.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3194, allocations: 15.98 kB / 381.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.3194, allocations: 12 kB / 381.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.3206, allocations: 354.3 kB / 381.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.322, allocations: 375.4 kB / 381.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008197/0.3302, allocations: 7.596 MB / 389.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.3317, allocations: 95.94 kB / 389.5 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.3319, allocations: 79.98 kB / 389.6 MB, free: 8.637 MB / 346.7 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.0018/0.3337, allocations: 0.9333 MB / 390.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.3341, allocations: 238.8 kB / 390.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.3383, allocations: 1.88 MB / 392.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3383, allocations: 12 kB / 392.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.3383, allocations: 8 kB / 392.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.3384, allocations: 7.969 kB / 392.6 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.3487, allocations: 5.192 MB / 397.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3487, allocations: 7.984 kB / 397.8 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.3495, allocations: 179.9 kB / 398 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.3514, allocations: 0.5441 MB / 398.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.3515, allocations: 35.98 kB / 398.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.3659, allocations: 13.25 MB / 411.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3659, allocations: 0 / 411.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/0.3715, allocations: 2.701 MB / 414.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.3726, allocations: 338.6 kB / 414.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.3729, allocations: 36 kB / 414.9 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.3738, allocations: 63.89 kB / 415 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.3741, allocations: 113 kB / 415.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.3742, allocations: 39.98 kB / 415.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00223/0.3764, allocations: 1.205 MB / 416.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 4 kB / 416.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0024/0.3788, allocations: 0.5898 MB / 416.9 MB, free: 12.52 MB / 378.7 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.00316/0.382, allocations: 0.4958 MB / 417.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004255/0.3862, allocations: 2.142 MB / 419.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3863, allocations: 12.06 kB / 419.6 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.3892, allocations: 1.833 MB / 421.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.3917, allocations: 476.5 kB / 421.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4024, allocations: 5.471 MB / 427.3 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.4046, allocations: 1.693 MB / 429 MB, free: 368 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001256/0.4059, allocations: 331.5 kB / 429.4 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1119/0.5178, allocations: 127.9 kB / 429.5 MB, free: 112.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5178, allocations: 0 / 429.5 MB, free: 112.9 MB / 378.7 MB Notification: Performance of Templates: time 0.04589/0.5637, allocations: 28.31 MB / 457.8 MB, free: 102.7 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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.678336914046668]