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.001676/0.001676, allocations: 83.78 kB / 22 MB, free: 5.176 MB / 14.72 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.001795/0.001795, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.297/1.297, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 59.92 kB / 299.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2025, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01497/0.2175, allocations: 11.73 MB / 360.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.2263, allocations: 4.522 MB / 364.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.2281, allocations: 95.38 kB / 364.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.2309, allocations: 1.08 MB / 366 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.2349, allocations: 1.367 MB / 367.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.2373, allocations: 0.9743 MB / 368.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005282/0.2426, allocations: 4.063 MB / 372.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.2452, allocations: 1.703 MB / 374.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.248, allocations: 1.974 MB / 376 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.2514, allocations: 2.066 MB / 378.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007371/0.2521, allocations: 0.5117 MB / 378.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.2536, allocations: 0.7263 MB / 379.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.2547, allocations: 1.149 MB / 380.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.2568, allocations: 1.696 MB / 382.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007313/0.2641, allocations: 6.831 MB / 389 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2641, allocations: 0 / 389 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2641, allocations: 0 / 389 MB, free: 6.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.2642, allocations: 0 / 389 MB, free: 6.824 MB / 350.1 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.01097/0.2752, allocations: 4.505 MB / 393.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2752, allocations: 15.98 kB / 393.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.2796, allocations: 0.8416 MB / 394.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.2841, allocations: 2.244 MB / 396.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.2843, allocations: 242.4 kB / 396.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.2848, allocations: 323.9 kB / 397.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007521/0.2923, allocations: 4.435 MB / 401.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.712e-05/0.2924, allocations: 11.94 kB / 401.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.2927, allocations: 136 kB / 401.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.2929, allocations: 146.4 kB / 401.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006357/0.2992, allocations: 3.617 MB / 405.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.3188, allocations: 11.36 MB / 416.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.3243, allocations: 2.67 MB / 419.5 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.3264, allocations: 1.253 MB / 420.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.3326, allocations: 3.182 MB / 424 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/0.3342, allocations: 0.9961 MB / 425 MB, free: 2.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.386e-06/0.3342, allocations: 0 / 425 MB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01283/0.347, allocations: 5.912 MB / 430.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.3471, allocations: 222.9 kB / 431.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.3496, allocations: 1.708 MB / 432.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.3497, allocations: 49.69 kB / 432.9 MB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.3512, allocations: 1.532 MB / 434.4 MB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.3516, allocations: 0.4997 MB / 434.9 MB, free: 8.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/0.3521, allocations: 303.5 kB / 435.2 MB, free: 8.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3523, allocations: 313.1 kB / 435.5 MB, free: 7.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3534, allocations: 0.6598 MB / 436.2 MB, free: 7.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.3552, allocations: 1.397 MB / 437.6 MB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.358, allocations: 1.932 MB / 439.5 MB, free: 3.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.358, allocations: 7.984 kB / 439.5 MB, free: 3.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004088/0.3621, allocations: 2.331 MB / 441.8 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3621, allocations: 12 kB / 441.8 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.3622, allocations: 16 kB / 441.8 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007565/0.3629, allocations: 295.5 kB / 442.1 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.3644, allocations: 379.4 kB / 442.5 MB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.3708, allocations: 5.937 MB / 448.4 MB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3723, allocations: 92.06 kB / 448.5 MB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3724, allocations: 79.98 kB / 448.6 MB, free: 9.777 MB / 414.1 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.00175/0.3742, allocations: 1.04 MB / 449.7 MB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.3745, allocations: 182.8 kB / 449.8 MB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.3785, allocations: 2.074 MB / 451.9 MB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.3785, allocations: 16 kB / 451.9 MB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3785, allocations: 4 kB / 451.9 MB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.3785, allocations: 15.91 kB / 451.9 MB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007643/0.3862, allocations: 4.213 MB / 456.2 MB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3862, allocations: 4 kB / 456.2 MB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/0.387, allocations: 175.7 kB / 456.3 MB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.3883, allocations: 464 kB / 456.8 MB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3884, allocations: 47.86 kB / 456.8 MB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.3999, allocations: 10.41 MB / 467.2 MB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3999, allocations: 3.984 kB / 467.2 MB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.4052, allocations: 2.962 MB / 470.2 MB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4063, allocations: 354.5 kB / 470.6 MB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.4065, allocations: 31.98 kB / 470.6 MB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.4074, allocations: 63.95 kB / 470.6 MB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.4077, allocations: 109 kB / 470.8 MB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/0.4078, allocations: 44 kB / 470.8 MB, free: 2.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.4096, allocations: 1.145 MB / 471.9 MB, free: 1.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4096, allocations: 0 / 471.9 MB, free: 1.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002178/0.4117, allocations: 0.5781 MB / 472.5 MB, free: 1.184 MB / 430.1 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.001894/0.4136, allocations: 0.4967 MB / 473 MB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1789/0.5926, allocations: 2.016 MB / 475 MB, free: 108.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5926, allocations: 5.094 kB / 475 MB, free: 108.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.5949, allocations: 1.519 MB / 476.6 MB, free: 108 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.597, allocations: 449.6 kB / 477 MB, free: 108 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.6054, allocations: 5.866 MB / 482.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.607, allocations: 1.801 MB / 484.7 MB, free: 104.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.6081, allocations: 379.4 kB / 485 MB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.6084, allocations: 135 kB / 485.2 MB, free: 104.8 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6084, allocations: 0 / 485.2 MB, free: 104.8 MB / 430.1 MB Notification: Performance of Templates: time 0.03945/0.6479, allocations: 27.56 MB / 0.5007 GB, free: 79.09 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/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/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.567908783908933]