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.001038/0.001038, allocations: 75.75 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.001756/0.001756, allocations: 173.4 kB / 25.33 MB, free: 9.449 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.9336/0.9336, allocations: 158.6 MB / 187.2 MB, free: 2.5 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.773e-06/1.773e-06, allocations: 0 / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.14e-05, allocations: 5.406 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01101/0.01104, allocations: 13.24 MB / 264.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.01774, allocations: 4.689 MB / 269 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.01896, allocations: 91.38 kB / 269.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.02093, allocations: 1.095 MB / 270.2 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.02341, allocations: 1.39 MB / 271.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.02484, allocations: 0.9883 MB / 272.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003748/0.02859, allocations: 4.256 MB / 276.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.03031, allocations: 1.722 MB / 278.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.03295, allocations: 2.878 MB / 281.4 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.03484, allocations: 2.011 MB / 283.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007063/0.03555, allocations: 0.5078 MB / 283.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008944/0.03644, allocations: 0.7377 MB / 284.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.0371, allocations: 1.207 MB / 285.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.0382, allocations: 1.454 MB / 287.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.04118, allocations: 3.52 MB / 290.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.04119, allocations: 0 / 290.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.04119, allocations: 0 / 290.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.04123, allocations: 0 / 290.9 MB, free: 11.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.005999/0.04723, allocations: 4.737 MB / 295.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.04728, allocations: 11.98 kB / 295.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.0499, allocations: 1.255 MB / 296.9 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.05249, allocations: 2.15 MB / 299 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.05262, allocations: 250.3 kB / 299.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.05293, allocations: 320 kB / 299.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.05639, allocations: 2.584 MB / 302.2 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.05644, allocations: 7.953 kB / 302.2 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1079/0.1644, allocations: 129 kB / 302.3 MB, free: 38.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.1645, allocations: 153.4 kB / 302.4 MB, free: 38.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.1675, allocations: 1.219 MB / 303.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.1786, allocations: 10.54 MB / 314.2 MB, free: 35.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.1813, allocations: 2.02 MB / 316.2 MB, free: 34.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.1822, allocations: 0.7079 MB / 316.9 MB, free: 34.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.1853, allocations: 2.477 MB / 319.4 MB, free: 33.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/0.186, allocations: 0.6989 MB / 320.1 MB, free: 32.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.867e-06/0.186, allocations: 0 / 320.1 MB, free: 32.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.005797/0.1918, allocations: 3.99 MB / 324.1 MB, free: 31.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1919, allocations: 225.4 kB / 324.3 MB, free: 30.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.1932, allocations: 1.461 MB / 325.8 MB, free: 30.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.1932, allocations: 49.33 kB / 325.8 MB, free: 30.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/0.194, allocations: 1.607 MB / 327.4 MB, free: 29.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.1942, allocations: 0.506 MB / 327.9 MB, free: 28.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.1945, allocations: 325.4 kB / 328.2 MB, free: 28.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.1945, allocations: 484.7 kB / 328.7 MB, free: 28.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.1949, allocations: 240.2 kB / 329 MB, free: 28.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.1955, allocations: 1.168 MB / 330.1 MB, free: 26.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.1966, allocations: 1.308 MB / 331.4 MB, free: 25.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.1966, allocations: 4.219 kB / 331.4 MB, free: 25.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001692/0.1983, allocations: 1.529 MB / 333 MB, free: 24.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1983, allocations: 8 kB / 333 MB, free: 24.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1984, allocations: 16 kB / 333 MB, free: 24.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.1989, allocations: 259.6 kB / 333.2 MB, free: 24.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.1996, allocations: 377.7 kB / 333.6 MB, free: 23.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.2019, allocations: 6.657 MB / 340.3 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.2025, allocations: 95.94 kB / 340.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.2025, allocations: 71.98 kB / 340.4 MB, free: 16.62 MB / 282.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.0004516/0.203, allocations: 273 kB / 340.7 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2032, allocations: 226.8 kB / 340.9 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2047, allocations: 1.325 MB / 342.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2047, allocations: 16 kB / 342.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2047, allocations: 8 kB / 342.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2047, allocations: 11.97 kB / 342.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.2084, allocations: 3.587 MB / 345.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2084, allocations: 4 kB / 345.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.2088, allocations: 183 kB / 346 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007442/0.2095, allocations: 423.7 kB / 346.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.2096, allocations: 31.98 kB / 346.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.2141, allocations: 11.51 MB / 358 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2141, allocations: 0 / 358 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.2163, allocations: 1.759 MB / 359.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/0.217, allocations: 334 kB / 360.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2171, allocations: 42.92 kB / 360.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.2175, allocations: 67.95 kB / 360.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.2177, allocations: 105.1 kB / 360.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.2177, allocations: 39.98 kB / 360.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008466/0.2186, allocations: 0.8408 MB / 361.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2186, allocations: 0 / 361.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001377/0.22, allocations: 0.5742 MB / 361.8 MB, free: 10.7 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.0009291/0.2209, allocations: 459.1 kB / 362.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.2226, allocations: 1.548 MB / 363.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2226, allocations: 2.312 kB / 363.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2238, allocations: 1.547 MB / 365.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2249, allocations: 470.2 kB / 365.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/0.2317, allocations: 5.063 MB / 370.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.2324, allocations: 0.7998 MB / 371.6 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007218/0.2331, allocations: 335.3 kB / 372 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.2334, allocations: 128.5 kB / 372.1 MB, free: 288 kB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2334, allocations: 0 / 372.1 MB, free: 288 kB / 298.7 MB Notification: Performance of Templates: time 0.03447/0.2679, allocations: 27.59 MB / 399.7 MB, free: 4.703 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.994367328938097]