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.002557/0.002557, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002978/0.002978, allocations: 164.1 kB / 25.03 MB, free: 8.414 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 1.39/1.39, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.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_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.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.927e-05, allocations: 6.109 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01992/0.01995, allocations: 13.13 MB / 263.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.03118, allocations: 4.666 MB / 268.2 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.03365, allocations: 91.38 kB / 268.3 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.03743, allocations: 1.091 MB / 269.4 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005435/0.04286, allocations: 1.397 MB / 270.8 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.0461, allocations: 0.9856 MB / 271.7 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006665/0.05276, allocations: 4.252 MB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/0.05606, allocations: 1.722 MB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/0.06237, allocations: 2.874 MB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004302/0.06667, allocations: 2.019 MB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.06775, allocations: 0.5078 MB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.06986, allocations: 0.7377 MB / 283.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.07131, allocations: 1.184 MB / 285 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003268/0.07458, allocations: 1.462 MB / 286.5 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.08504, allocations: 6.895 MB / 293.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.08505, allocations: 3.984 kB / 293.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08505, allocations: 0 / 293.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001707/0.08522, allocations: 3.938 kB / 293.4 MB, free: 12.57 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.01423/0.09945, allocations: 5.128 MB / 298.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.09949, allocations: 11.98 kB / 298.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005433/0.1049, allocations: 1.263 MB / 299.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006166/0.1111, allocations: 2.188 MB / 302 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.1114, allocations: 246.4 kB / 302.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008406/0.1122, allocations: 331.9 kB / 302.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009578/0.1218, allocations: 4.494 MB / 307.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.461e-05/0.1219, allocations: 3.953 kB / 307.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.1222, allocations: 132 kB / 307.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.1224, allocations: 158.4 kB / 307.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006929/0.1293, allocations: 3.222 MB / 310.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03583/0.1652, allocations: 21.04 MB / 331.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/0.1712, allocations: 2.508 MB / 334.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.1738, allocations: 1.145 MB / 335.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008042/0.1818, allocations: 3.35 MB / 338.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.1835, allocations: 1.002 MB / 339.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 3.666e-06/0.1835, allocations: 0 / 339.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01374/0.1972, allocations: 5.282 MB / 344.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.1974, allocations: 230.9 kB / 345.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.2011, allocations: 2.099 MB / 347.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.2013, allocations: 53.7 kB / 347.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.2034, allocations: 1.715 MB / 349 MB, free: 3.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/0.2042, allocations: 0.5466 MB / 349.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/0.2049, allocations: 405.1 kB / 349.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/0.2052, allocations: 484.7 kB / 350.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.2064, allocations: 0.5271 MB / 350.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1306/0.337, allocations: 1.548 MB / 352.5 MB, free: 95.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.3403, allocations: 1.99 MB / 354.5 MB, free: 94.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.3403, allocations: 4.875 kB / 354.5 MB, free: 94.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003474/0.3438, allocations: 2.16 MB / 356.6 MB, free: 94.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3438, allocations: 10.97 kB / 356.6 MB, free: 94.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3438, allocations: 14.84 kB / 356.7 MB, free: 94.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.3447, allocations: 347.7 kB / 357 MB, free: 94.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.346, allocations: 377.9 kB / 357.4 MB, free: 94.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/0.3506, allocations: 7.438 MB / 364.8 MB, free: 88.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.352, allocations: 88.39 kB / 364.9 MB, free: 88.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.3522, allocations: 76.16 kB / 365 MB, free: 88.53 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.00144/0.3536, allocations: 0.9447 MB / 365.9 MB, free: 88.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.3539, allocations: 228.3 kB / 366.1 MB, free: 88.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/0.3571, allocations: 1.838 MB / 368 MB, free: 87.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3571, allocations: 13.78 kB / 368 MB, free: 87.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3571, allocations: 6.812 kB / 368 MB, free: 87.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.3571, allocations: 11.44 kB / 368 MB, free: 87.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/0.3652, allocations: 5.097 MB / 373.1 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3652, allocations: 3.812 kB / 373.1 MB, free: 85.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.3659, allocations: 178.3 kB / 373.3 MB, free: 85.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.3675, allocations: 0.5437 MB / 373.8 MB, free: 84.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3676, allocations: 42.98 kB / 373.9 MB, free: 84.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008304/0.3759, allocations: 13.08 MB / 386.9 MB, free: 71.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3759, allocations: 4 kB / 387 MB, free: 71.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.3801, allocations: 2.665 MB / 389.6 MB, free: 68.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/0.3811, allocations: 337.9 kB / 389.9 MB, free: 68.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.3816, allocations: 36 kB / 390 MB, free: 68.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.3826, allocations: 59.95 kB / 390 MB, free: 68.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.3829, allocations: 117 kB / 390.2 MB, free: 68.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.383, allocations: 39.98 kB / 390.2 MB, free: 68.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001828/0.3848, allocations: 1.188 MB / 391.4 MB, free: 66.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 391.4 MB, free: 66.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002218/0.387, allocations: 0.5814 MB / 392 MB, free: 66.25 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.002947/0.39, allocations: 0.5016 MB / 392.5 MB, free: 65.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.3931, allocations: 2.124 MB / 394.6 MB, free: 63.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3931, allocations: 0 / 394.6 MB, free: 63.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.3951, allocations: 1.793 MB / 396.4 MB, free: 61.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.3975, allocations: 462.5 kB / 396.8 MB, free: 61.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/0.4066, allocations: 5.462 MB / 402.3 MB, free: 55.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.4083, allocations: 1.68 MB / 404 MB, free: 54.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.4095, allocations: 331.3 kB / 404.3 MB, free: 53.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.4099, allocations: 132.5 kB / 404.4 MB, free: 53.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.41, allocations: 0 / 404.4 MB, free: 53.64 MB / 330.7 MB Notification: Performance of Templates: time 0.04319/0.4531, allocations: 27.54 MB / 432 MB, free: 26.06 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.048382029985078]