Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.001278/0.001278, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001595/0.001595, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9682/0.9682, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 251.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.205e-05, allocations: 2.312 kB / 251.5 MB, free: 7.316 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01023/0.01025, allocations: 12.84 MB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006787/0.01704, allocations: 4.658 MB / 269 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.01811, allocations: 87.44 kB / 269.1 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.01986, allocations: 1.095 MB / 270.2 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.02205, allocations: 1.401 MB / 271.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.02346, allocations: 0.9814 MB / 272.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.02656, allocations: 4.24 MB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.02822, allocations: 1.722 MB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.03111, allocations: 2.975 MB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.03292, allocations: 2.007 MB / 283.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.03339, allocations: 0.5 MB / 284 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009196/0.03431, allocations: 0.7339 MB / 284.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006422/0.03495, allocations: 1.18 MB / 285.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.03604, allocations: 1.442 MB / 287.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.03875, allocations: 3.497 MB / 290.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.03876, allocations: 3.984 kB / 290.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.03876, allocations: 0 / 290.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.03881, allocations: 0 / 290.9 MB, free: 15.73 MB / 282.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.005158/0.04396, allocations: 4.596 MB / 295.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.04401, allocations: 15.98 kB / 295.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.04637, allocations: 1.177 MB / 296.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.04841, allocations: 2.06 MB / 298.7 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.04854, allocations: 250.3 kB / 298.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.04883, allocations: 316 kB / 299.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.05141, allocations: 2.381 MB / 301.6 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.05145, allocations: 0 / 301.6 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.05163, allocations: 132 kB / 301.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.05174, allocations: 154.4 kB / 301.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.05314, allocations: 0.9339 MB / 302.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009891/0.06303, allocations: 10.46 MB / 313.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.06522, allocations: 1.853 MB / 315.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.06592, allocations: 0.6391 MB / 315.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/0.06878, allocations: 2.417 MB / 318.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/0.06935, allocations: 0.6499 MB / 318.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.314e-06/0.06935, allocations: 3.938 kB / 318.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.004855/0.07421, allocations: 3.298 MB / 322.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.07428, allocations: 222.9 kB / 322.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.07542, allocations: 1.431 MB / 323.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.07548, allocations: 49.7 kB / 323.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/0.07633, allocations: 1.614 MB / 325.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.07661, allocations: 0.5152 MB / 326 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.07693, allocations: 337 kB / 326.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.07705, allocations: 488.7 kB / 326.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.0773, allocations: 183.8 kB / 327 MB, free: 10.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.07797, allocations: 1.14 MB / 328.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.07896, allocations: 1.238 MB / 329.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.07897, allocations: 4 kB / 329.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001525/0.08049, allocations: 1.401 MB / 330.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.08051, allocations: 8 kB / 330.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.08053, allocations: 19.94 kB / 330.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.08097, allocations: 250.8 kB / 331 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.08169, allocations: 367.4 kB / 331.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.08502, allocations: 6.537 MB / 337.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.08557, allocations: 88.02 kB / 338 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.08567, allocations: 56 kB / 338.1 MB, free: 14.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (198): * Single equations (assignments): 194 * 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.0005164/0.08619, allocations: 272 kB / 338.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.08638, allocations: 226.8 kB / 338.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.08782, allocations: 1.221 MB / 339.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.08782, allocations: 16 kB / 339.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.08783, allocations: 8 kB / 339.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.08784, allocations: 7.969 kB / 339.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.09148, allocations: 3.467 MB / 343.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.09148, allocations: 128 / 343.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.09186, allocations: 167.8 kB / 343.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/0.09255, allocations: 406 kB / 343.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.09261, allocations: 43.92 kB / 343.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1201/0.2127, allocations: 11.28 MB / 355.2 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2127, allocations: 7.5 kB / 355.2 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.2153, allocations: 1.611 MB / 356.8 MB, free: 75.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.2158, allocations: 307.1 kB / 357.1 MB, free: 75.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.216, allocations: 33.34 kB / 357.1 MB, free: 75.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.2164, allocations: 55.94 kB / 357.2 MB, free: 75.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.2167, allocations: 110.7 kB / 357.3 MB, free: 75.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.2167, allocations: 33.53 kB / 357.3 MB, free: 75.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007379/0.2174, allocations: 0.7637 MB / 358.1 MB, free: 75.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2174, allocations: 0 / 358.1 MB, free: 75.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001538/0.219, allocations: 0.5809 MB / 358.7 MB, free: 75.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 96 * 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,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.001244/0.2202, allocations: 441.9 kB / 359.1 MB, free: 75.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.222, allocations: 1.463 MB / 360.6 MB, free: 74.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.222, allocations: 0 / 360.6 MB, free: 74.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.2232, allocations: 1.491 MB / 362 MB, free: 73.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.2246, allocations: 466.6 kB / 362.5 MB, free: 73.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.2314, allocations: 5.024 MB / 367.5 MB, free: 71.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.232, allocations: 0.8063 MB / 368.3 MB, free: 71.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000661/0.2326, allocations: 248.5 kB / 368.6 MB, free: 71.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/0.2333, allocations: 0.5012 MB / 369.1 MB, free: 71.44 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2333, allocations: 0 / 369.1 MB, free: 71.44 MB / 330.7 MB Notification: Performance of Templates: time 0.03642/0.2697, allocations: 29.21 MB / 398.3 MB, free: 47.46 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.772507881745696]