Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002511/0.002511, allocations: 181.2 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.978/2.978, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001158, allocations: 93.94 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006093/0.0006096, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5077, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2569/0.7648, allocations: 113.2 MB / 489 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006129/0.7655, allocations: 91.95 kB / 489 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6591/1.425, allocations: 83.47 MB / 0.5591 GB, free: 57.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.425, allocations: 0 / 0.5591 GB, free: 57.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000309/1.425, allocations: 87.86 kB / 0.5592 GB, free: 57.55 MB / 378.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.01466/1.44, allocations: 3.598 MB / 0.5627 GB, free: 53.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.44, allocations: 12.03 kB / 0.5627 GB, free: 53.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/1.447, allocations: 0.7421 MB / 0.5634 GB, free: 53.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.458, allocations: 2.744 MB / 0.5661 GB, free: 50.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/1.459, allocations: 242.8 kB / 0.5663 GB, free: 50.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001795/1.46, allocations: 320.6 kB / 0.5666 GB, free: 49.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/1.477, allocations: 4.224 MB / 0.5708 GB, free: 45.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003616/1.477, allocations: 4 kB / 0.5708 GB, free: 45.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002049/1.479, allocations: 132 kB / 0.5709 GB, free: 45.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/1.479, allocations: 150.4 kB / 0.571 GB, free: 45.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.493, allocations: 3.41 MB / 0.5744 GB, free: 41.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0498/1.543, allocations: 13.51 MB / 0.5876 GB, free: 27.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/1.554, allocations: 6.96 MB / 0.5944 GB, free: 20.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004741/1.559, allocations: 1.386 MB / 0.5957 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.572, allocations: 3.863 MB / 0.5995 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/1.574, allocations: 0.8533 MB / 0.6003 GB, free: 13.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 6.743e-06/1.574, allocations: 0 / 0.6003 GB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02234/1.596, allocations: 6.501 MB / 0.6067 GB, free: 7.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.596, allocations: 222.9 kB / 0.6069 GB, free: 6.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/1.601, allocations: 1.871 MB / 0.6087 GB, free: 4.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004551/1.602, allocations: 53.7 kB / 0.6088 GB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00209/1.604, allocations: 1.478 MB / 0.6102 GB, free: 3.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/1.605, allocations: 489 kB / 0.6107 GB, free: 2.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.605, allocations: 36 kB / 0.6107 GB, free: 2.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/1.605, allocations: 369.9 kB / 0.6111 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.607, allocations: 0.652 MB / 0.6117 GB, free: 1.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.609, allocations: 1.214 MB / 0.6129 GB, free: 428 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/1.613, allocations: 1.928 MB / 0.6148 GB, free: 14.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/1.613, allocations: 4 kB / 0.6148 GB, free: 14.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006102/1.619, allocations: 2.409 MB / 0.6171 GB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/1.619, allocations: 15.94 kB / 0.6171 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/1.619, allocations: 16 kB / 0.6171 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.621, allocations: 291.5 kB / 0.6174 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/1.623, allocations: 379.4 kB / 0.6178 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.634, allocations: 5.851 MB / 0.6235 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.637, allocations: 103.9 kB / 0.6236 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/1.638, allocations: 76 kB / 0.6237 GB, free: 4.703 MB / 394.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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004198/1.642, allocations: 1.03 MB / 0.6247 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008446/1.643, allocations: 201.5 kB / 0.6249 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/1.648, allocations: 2.25 MB / 0.6271 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.648, allocations: 12 kB / 0.6271 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.648, allocations: 8 kB / 0.6271 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.648, allocations: 8.156 kB / 0.6271 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.659, allocations: 5.198 MB / 0.6322 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.659, allocations: 0 / 0.6322 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/1.66, allocations: 191.6 kB / 0.6324 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/1.661, allocations: 460.2 kB / 0.6328 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.661, allocations: 39.92 kB / 0.6328 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.672, allocations: 10.18 MB / 0.6428 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.672, allocations: 96 / 0.6428 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4364/2.109, allocations: 3.138 MB / 0.6458 GB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/2.111, allocations: 439.7 kB / 0.6463 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.113, allocations: 38.22 kB / 0.6463 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/2.115, allocations: 71.61 kB / 0.6464 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/2.115, allocations: 103.8 kB / 0.6465 GB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/2.116, allocations: 44.56 kB / 0.6465 GB, free: 88.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004231/2.12, allocations: 1.285 MB / 0.6478 GB, free: 88.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.472e-06/2.12, allocations: 0 / 0.6478 GB, free: 88.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006112/2.126, allocations: 0.6298 MB / 0.6484 GB, free: 88.01 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002853/2.129, allocations: 0.6597 MB / 0.649 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006717/2.136, allocations: 2.167 MB / 0.6511 GB, free: 87.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/2.136, allocations: 0 / 0.6511 GB, free: 87.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003977/2.14, allocations: 1.581 MB / 0.6527 GB, free: 86.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/2.146, allocations: 0.5102 MB / 0.6532 GB, free: 86.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/2.168, allocations: 7.038 MB / 0.66 GB, free: 83.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/2.172, allocations: 2.303 MB / 0.6623 GB, free: 82.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/2.174, allocations: 147 kB / 0.6624 GB, free: 82.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/2.174, allocations: 0 / 0.6624 GB, free: 82.99 MB / 410.7 MB Notification: Performance of Templates: time 0.228/2.402, allocations: 114.8 MB / 0.7745 GB, free: 1.082 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches