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.001533/0.001533, allocations: 71.77 kB / 22.45 MB, free: 2.094 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.001145/0.001145, allocations: 164 kB / 25.75 MB, free: 8.945 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.9369/0.9369, allocations: 158.6 MB / 187.5 MB, free: 2.539 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.543e-06/1.543e-06, allocations: 0 / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.668e-05, allocations: 2.312 kB / 251.1 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01583/0.01586, allocations: 13.17 MB / 264.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009735/0.0256, allocations: 4.678 MB / 269 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.02854, allocations: 87.44 kB / 269.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.03215, allocations: 1.095 MB / 270.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.0373, allocations: 1.401 MB / 271.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.03944, allocations: 0.9857 MB / 272.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004257/0.0437, allocations: 4.24 MB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.04565, allocations: 1.722 MB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.04879, allocations: 2.87 MB / 281.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.05086, allocations: 2.027 MB / 283.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005168/0.05138, allocations: 0.5039 MB / 283.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.05238, allocations: 0.7339 MB / 284.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006935/0.05307, allocations: 1.196 MB / 285.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.05432, allocations: 1.458 MB / 287.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.05742, allocations: 3.528 MB / 290.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.05742, allocations: 0 / 290.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.05742, allocations: 0 / 290.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.203e-05/0.05747, allocations: 0 / 290.8 MB, free: 15.83 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.007077/0.06455, allocations: 4.729 MB / 295.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.0646, allocations: 11.98 kB / 295.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/0.0687, allocations: 1.259 MB / 296.8 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.07176, allocations: 2.154 MB / 299 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.07194, allocations: 246.3 kB / 299.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/0.07236, allocations: 320 kB / 299.5 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.07686, allocations: 2.58 MB / 302.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.851e-05/0.07694, allocations: 11.89 kB / 302.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/0.07723, allocations: 124 kB / 302.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.07739, allocations: 162.4 kB / 302.4 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/0.08062, allocations: 1.22 MB / 303.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.09396, allocations: 10.55 MB / 314.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.09743, allocations: 2.003 MB / 316.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.09868, allocations: 0.7172 MB / 316.9 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.1026, allocations: 2.476 MB / 319.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009012/0.1035, allocations: 0.6969 MB / 320.1 MB, free: 2.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.936e-06/0.1035, allocations: 0 / 320.1 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.007831/0.1113, allocations: 3.986 MB / 324.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.1114, allocations: 230.9 kB / 324.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.1131, allocations: 1.463 MB / 325.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.1132, allocations: 53.64 kB / 325.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.1142, allocations: 1.59 MB / 327.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.1145, allocations: 0.5192 MB / 327.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.1149, allocations: 325.1 kB / 328.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.115, allocations: 480.7 kB / 328.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1154, allocations: 247.8 kB / 328.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.1162, allocations: 1.172 MB / 330.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1175, allocations: 1.309 MB / 331.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.1175, allocations: 4 kB / 331.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001948/0.1195, allocations: 1.525 MB / 332.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1195, allocations: 12 kB / 333 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1195, allocations: 12 kB / 333 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.12, allocations: 266.5 kB / 333.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.1208, allocations: 379.4 kB / 333.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.1243, allocations: 6.647 MB / 340.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.1248, allocations: 96 kB / 340.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.1249, allocations: 71.98 kB / 340.4 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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.0004389/0.1253, allocations: 271.6 kB / 340.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.1255, allocations: 234.8 kB / 340.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.1273, allocations: 1.326 MB / 342.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1273, allocations: 12 kB / 342.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1273, allocations: 11.98 kB / 342.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1273, allocations: 3.984 kB / 342.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.1319, allocations: 3.586 MB / 345.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1319, allocations: 4.031 kB / 345.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.1323, allocations: 183.7 kB / 346 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007839/0.1331, allocations: 416.2 kB / 346.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.1331, allocations: 35.98 kB / 346.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1211/0.2543, allocations: 11.51 MB / 358 MB, free: 74.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2543, allocations: 5.219 kB / 358 MB, free: 74.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.2567, allocations: 1.765 MB / 359.7 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.2572, allocations: 326.9 kB / 360.1 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.2574, allocations: 38.84 kB / 360.1 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.2578, allocations: 63.17 kB / 360.2 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.258, allocations: 114.9 kB / 360.3 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.2581, allocations: 38.78 kB / 360.3 MB, free: 73.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000836/0.2589, allocations: 0.8341 MB / 361.2 MB, free: 73.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2589, allocations: 0 / 361.2 MB, free: 73.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001426/0.2603, allocations: 0.5791 MB / 361.7 MB, free: 73.59 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.0009096/0.2613, allocations: 447.9 kB / 362.2 MB, free: 73.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2629, allocations: 1.55 MB / 363.7 MB, free: 72.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2629, allocations: 9.406 kB / 363.7 MB, free: 72.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2639, allocations: 1.539 MB / 365.3 MB, free: 71.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.2651, allocations: 458.9 kB / 365.7 MB, free: 71.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.2711, allocations: 5.08 MB / 370.8 MB, free: 69.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.2717, allocations: 0.8056 MB / 371.6 MB, free: 69.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006878/0.2724, allocations: 333.1 kB / 371.9 MB, free: 69.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.2726, allocations: 119 kB / 372 MB, free: 69.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2726, allocations: 0 / 372 MB, free: 69.51 MB / 330.7 MB Notification: Performance of Templates: time 0.029/0.3016, allocations: 27.59 MB / 399.6 MB, free: 46.86 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: 6.125501058995724]