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.001963/0.001963, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002651/0.002651, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.541/1.541, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 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: 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.001871/0.001871, allocations: 55.92 kB / 348.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.255, allocations: 49.16 MB / 397.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01298/0.2679, allocations: 13.49 MB / 411.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.2786, allocations: 4.786 MB / 415.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.2814, allocations: 87.47 kB / 416 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.2849, allocations: 1.148 MB / 417.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.2898, allocations: 1.375 MB / 418.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.2928, allocations: 1.013 MB / 419.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00685/0.2996, allocations: 4.079 MB / 423.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.3036, allocations: 1.778 MB / 425.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.3075, allocations: 1.971 MB / 427.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/0.3122, allocations: 2.194 MB / 429.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.3138, allocations: 0.5078 MB / 430.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.3169, allocations: 0.7575 MB / 430.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.3189, allocations: 1.153 MB / 432 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00487/0.3238, allocations: 2.139 MB / 434.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.3341, allocations: 6.814 MB / 440.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3341, allocations: 4 kB / 440.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3341, allocations: 0 / 440.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.3343, allocations: 0 / 440.9 MB, free: 7.91 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.01282/0.3471, allocations: 4.501 MB / 445.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3471, allocations: 15.98 kB / 445.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.3524, allocations: 0.8377 MB / 446.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/0.3598, allocations: 2.271 MB / 448.6 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.3601, allocations: 238.5 kB / 448.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.3614, allocations: 331.9 kB / 449.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.372, allocations: 4.288 MB / 453.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.3721, allocations: 3.953 kB / 453.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/0.3727, allocations: 128 kB / 453.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/0.3729, allocations: 150.4 kB / 453.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/0.3809, allocations: 3.621 MB / 457.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.4072, allocations: 13.04 MB / 470.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.4131, allocations: 2.68 MB / 473 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.4155, allocations: 1.238 MB / 474.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007482/0.423, allocations: 3.555 MB / 477.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.4245, allocations: 0.8571 MB / 478.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.995e-06/0.4245, allocations: 0 / 478.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01405/0.4386, allocations: 5.919 MB / 484.6 MB, free: 11.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.4388, allocations: 222.9 kB / 484.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/0.4427, allocations: 1.918 MB / 486.7 MB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.4429, allocations: 49.7 kB / 486.8 MB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.4446, allocations: 1.517 MB / 488.3 MB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/0.4451, allocations: 0.4997 MB / 488.8 MB, free: 7.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005844/0.4457, allocations: 311.5 kB / 489.1 MB, free: 7.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4458, allocations: 301.1 kB / 489.4 MB, free: 6.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4471, allocations: 0.6598 MB / 490 MB, free: 6.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.449, allocations: 1.218 MB / 491.3 MB, free: 4.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.4521, allocations: 1.928 MB / 493.2 MB, free: 2.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.4521, allocations: 4 kB / 493.2 MB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004753/0.4569, allocations: 2.362 MB / 495.6 MB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.4569, allocations: 8 kB / 495.6 MB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.457, allocations: 16 kB / 495.6 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000878/0.4578, allocations: 287.5 kB / 495.9 MB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.4593, allocations: 383.4 kB / 496.2 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00716/0.4665, allocations: 6.068 MB / 0.4905 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.4683, allocations: 87.91 kB / 0.4906 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.4685, allocations: 75.98 kB / 0.4907 GB, free: 8.992 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.002368/0.4709, allocations: 1.044 MB / 0.4917 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006253/0.4715, allocations: 206.7 kB / 0.4919 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/0.4762, allocations: 2.083 MB / 0.4939 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4762, allocations: 16.19 kB / 0.494 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/0.4763, allocations: 15.98 kB / 0.494 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4763, allocations: 3.984 kB / 0.494 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4869, allocations: 4.898 MB / 0.4988 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4869, allocations: 4 kB / 0.4988 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/0.4878, allocations: 175.8 kB / 0.4989 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.4892, allocations: 472.2 kB / 0.4994 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.4893, allocations: 39.92 kB / 0.4994 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.5019, allocations: 10.6 MB / 0.5098 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.5019, allocations: 8.016 kB / 0.5098 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/0.508, allocations: 2.975 MB / 0.5127 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.5092, allocations: 374.5 kB / 0.513 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/0.5098, allocations: 32 kB / 0.5131 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.511, allocations: 64.08 kB / 0.5131 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.5113, allocations: 113 kB / 0.5132 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.5114, allocations: 43.98 kB / 0.5133 GB, free: 1.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002782/0.5141, allocations: 1.315 MB / 0.5146 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5141, allocations: 0 / 0.5146 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002837/0.517, allocations: 0.5858 MB / 0.5151 GB, free: 15.2 MB / 446.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 (102): * Single equations (assignments): 95 * 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.001901/0.5189, allocations: 464.8 kB / 0.5156 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004084/0.523, allocations: 2.02 MB / 0.5176 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.523, allocations: 2 kB / 0.5176 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.5257, allocations: 1.516 MB / 0.519 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.5288, allocations: 0.5483 MB / 0.5196 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.5421, allocations: 5.894 MB / 0.5253 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/0.5455, allocations: 2.301 MB / 0.5276 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/0.5463, allocations: 147.4 kB / 0.5277 GB, free: 2.113 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.5463, allocations: 0 / 0.5277 GB, free: 2.113 MB / 446.1 MB Notification: Performance of Templates: time 0.3018/0.8481, allocations: 114.6 MB / 0.6396 GB, free: 82.61 MB / 478.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 -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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.453520291950554]