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.0009613/0.0009613, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001588/0.001588, allocations: 168.9 kB / 25.33 MB, free: 9.461 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.841/0.841, allocations: 158.6 MB / 187.2 MB, free: 2.52 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.613e-06/1.613e-06, allocations: 0 / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.392e-05, allocations: 2.312 kB / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01573/0.01576, allocations: 13.24 MB / 264.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009468/0.02523, allocations: 4.689 MB / 269 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.02704, allocations: 87.44 kB / 269.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.02978, allocations: 1.099 MB / 270.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.0333, allocations: 1.401 MB / 271.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.03529, allocations: 0.9847 MB / 272.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.03936, allocations: 4.252 MB / 276.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.04124, allocations: 1.718 MB / 278.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.0445, allocations: 2.983 MB / 281.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.04689, allocations: 1.992 MB / 283.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.04764, allocations: 0.5039 MB / 284 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009789/0.04862, allocations: 0.73 MB / 284.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006637/0.04928, allocations: 1.176 MB / 285.9 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.05042, allocations: 1.45 MB / 287.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.05317, allocations: 3.501 MB / 290.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.05317, allocations: 0 / 290.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05317, allocations: 0 / 290.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.458e-05/0.05321, allocations: 0 / 290.9 MB, free: 11.55 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.005604/0.05881, allocations: 4.718 MB / 295.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.05886, allocations: 11.98 kB / 295.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.06143, allocations: 1.259 MB / 296.9 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.06371, allocations: 2.158 MB / 299 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.06385, allocations: 250.3 kB / 299.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.0642, allocations: 327.9 kB / 299.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.0677, allocations: 2.577 MB / 302.2 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/0.06775, allocations: 7.984 kB / 302.2 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1154/0.1831, allocations: 127.1 kB / 302.3 MB, free: 38.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.1833, allocations: 153.1 kB / 302.4 MB, free: 38.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.1865, allocations: 1.216 MB / 303.7 MB, free: 38.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.1983, allocations: 10.51 MB / 314.2 MB, free: 35.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.2009, allocations: 2.032 MB / 316.2 MB, free: 34.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000842/0.2017, allocations: 0.7173 MB / 316.9 MB, free: 34.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/0.2045, allocations: 2.454 MB / 319.4 MB, free: 33.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.2051, allocations: 0.6948 MB / 320.1 MB, free: 32.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.324e-06/0.2051, allocations: 1.031 kB / 320.1 MB, free: 32.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.005315/0.2104, allocations: 3.979 MB / 324 MB, free: 31.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2104, allocations: 228.8 kB / 324.3 MB, free: 30.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2117, allocations: 1.455 MB / 325.7 MB, free: 30.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.2117, allocations: 55.23 kB / 325.8 MB, free: 30.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006482/0.2124, allocations: 1.607 MB / 327.4 MB, free: 29.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.2126, allocations: 0.5095 MB / 327.9 MB, free: 28.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.2129, allocations: 327.8 kB / 328.2 MB, free: 28.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.2129, allocations: 483.9 kB / 328.7 MB, free: 28.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.2133, allocations: 243.8 kB / 328.9 MB, free: 28.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.2139, allocations: 1.184 MB / 330.1 MB, free: 26.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.2151, allocations: 1.333 MB / 331.4 MB, free: 25.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.2151, allocations: 5.281 kB / 331.4 MB, free: 25.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001719/0.2169, allocations: 1.537 MB / 333 MB, free: 24.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2169, allocations: 8 kB / 333 MB, free: 24.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2169, allocations: 16.28 kB / 333 MB, free: 24.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.2174, allocations: 258.6 kB / 333.3 MB, free: 24.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/0.2181, allocations: 381.6 kB / 333.6 MB, free: 23.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.2207, allocations: 6.664 MB / 340.3 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.2212, allocations: 79.97 kB / 340.4 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.2213, allocations: 75.98 kB / 340.4 MB, free: 16.64 MB / 282.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.0004109/0.2217, allocations: 279.2 kB / 340.7 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.2219, allocations: 230.8 kB / 340.9 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2234, allocations: 1.318 MB / 342.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.2234, allocations: 16 kB / 342.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2234, allocations: 4 kB / 342.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2234, allocations: 7.969 kB / 342.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.2269, allocations: 3.559 MB / 345.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2269, allocations: 3.984 kB / 345.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.2273, allocations: 178.2 kB / 346 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.228, allocations: 423.3 kB / 346.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.2281, allocations: 35.98 kB / 346.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/0.2322, allocations: 11.51 MB / 358 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2322, allocations: 4 kB / 358 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.2343, allocations: 1.76 MB / 359.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.2346, allocations: 322.6 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2348, allocations: 43.92 kB / 360.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.2351, allocations: 59.97 kB / 360.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.2353, allocations: 108.8 kB / 360.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.2354, allocations: 39.98 kB / 360.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007749/0.2361, allocations: 0.8371 MB / 361.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2361, allocations: 0 / 361.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001239/0.2374, allocations: 0.5742 MB / 361.7 MB, free: 10.77 MB / 298.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.0009135/0.2383, allocations: 460.5 kB / 362.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.2399, allocations: 1.559 MB / 363.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2399, allocations: 0 / 363.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.2411, allocations: 1.537 MB / 365.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.2421, allocations: 466.2 kB / 365.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.248, allocations: 5.063 MB / 370.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.2486, allocations: 0.8037 MB / 371.6 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.2492, allocations: 335.3 kB / 371.9 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.2494, allocations: 132.3 kB / 372 MB, free: 364 kB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2494, allocations: 0 / 372 MB, free: 364 kB / 298.7 MB Notification: Performance of Templates: time 0.03529/0.2847, allocations: 28.61 MB / 400.7 MB, free: 3.77 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.765167728066444]