Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 100.9 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 12 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 50.4 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.4627, allocations: 114.7 MB / 0.5053 GB, free: 99.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.463, allocations: 100.4 kB / 0.5054 GB, free: 99.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1624/0.6254, allocations: 83.85 MB / 0.5873 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6254, allocations: 0 / 0.5873 GB, free: 26.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002144/0.6256, allocations: 83.92 kB / 0.5874 GB, free: 26.72 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.007926/0.6336, allocations: 3.59 MB / 0.5909 GB, free: 23.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.6336, allocations: 16.02 kB / 0.5909 GB, free: 23.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.6369, allocations: 0.746 MB / 0.5916 GB, free: 22.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.6413, allocations: 2.756 MB / 0.5943 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.6414, allocations: 234.8 kB / 0.5945 GB, free: 19.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004982/0.6419, allocations: 324.6 kB / 0.5948 GB, free: 18.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.6478, allocations: 4.222 MB / 0.5989 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.571e-05/0.6479, allocations: 4 kB / 0.599 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.6482, allocations: 132 kB / 0.5991 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.95e-05/0.6483, allocations: 146.4 kB / 0.5992 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.6532, allocations: 3.414 MB / 0.6026 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.6689, allocations: 13.51 MB / 0.6157 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006076/0.675, allocations: 6.942 MB / 0.6225 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.677, allocations: 1.392 MB / 0.6239 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005797/0.6829, allocations: 3.883 MB / 0.6277 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.6841, allocations: 0.8533 MB / 0.6285 GB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.046e-06/0.6841, allocations: 0 / 0.6285 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01136/0.6955, allocations: 6.528 MB / 0.6349 GB, free: 8.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.6956, allocations: 226.9 kB / 0.6351 GB, free: 7.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.6981, allocations: 1.867 MB / 0.6369 GB, free: 6.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.6982, allocations: 61.58 kB / 0.637 GB, free: 6.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.6994, allocations: 1.474 MB / 0.6384 GB, free: 4.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.6998, allocations: 489 kB / 0.6389 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.6999, allocations: 36 kB / 0.6389 GB, free: 4.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7001, allocations: 373.9 kB / 0.6393 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.7011, allocations: 0.6598 MB / 0.6399 GB, free: 2.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.7024, allocations: 1.205 MB / 0.6411 GB, free: 1.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.7049, allocations: 1.923 MB / 0.643 GB, free: 15.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.7049, allocations: 8 kB / 0.643 GB, free: 15.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003532/0.7085, allocations: 2.412 MB / 0.6453 GB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.7085, allocations: 18.75 kB / 0.6454 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.7085, allocations: 16 kB / 0.6454 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.7092, allocations: 287.6 kB / 0.6456 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.7105, allocations: 375.4 kB / 0.646 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00528/0.7158, allocations: 5.855 MB / 0.6517 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.717, allocations: 107.9 kB / 0.6518 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.7171, allocations: 75.94 kB / 0.6519 GB, free: 5.844 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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.001728/0.7188, allocations: 1.028 MB / 0.6529 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.7191, allocations: 197.6 kB / 0.6531 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.7229, allocations: 2.269 MB / 0.6553 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.7229, allocations: 19.94 kB / 0.6553 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.7229, allocations: 8 kB / 0.6553 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.7229, allocations: 3.984 kB / 0.6553 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1778/0.9008, allocations: 5.197 MB / 0.6604 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9008, allocations: 1.906 kB / 0.6604 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.902, allocations: 185.6 kB / 0.6606 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.9037, allocations: 462.8 kB / 0.661 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.9039, allocations: 45.5 kB / 0.6611 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.9169, allocations: 10.18 MB / 0.671 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.917, allocations: 4.781 kB / 0.671 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007583/0.9246, allocations: 3.143 MB / 0.6741 GB, free: 74.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.9258, allocations: 451.9 kB / 0.6745 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.9262, allocations: 38.3 kB / 0.6746 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.9277, allocations: 68.22 kB / 0.6746 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.928, allocations: 101.5 kB / 0.6747 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.9281, allocations: 40.16 kB / 0.6748 GB, free: 74.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002806/0.931, allocations: 1.283 MB / 0.676 GB, free: 74.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.931, allocations: 0 / 0.676 GB, free: 74.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003235/0.9342, allocations: 0.6296 MB / 0.6766 GB, free: 74.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.9361, allocations: 0.6794 MB / 0.6773 GB, free: 74.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004674/0.9408, allocations: 2.162 MB / 0.6794 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9409, allocations: 0 / 0.6794 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.9443, allocations: 1.582 MB / 0.6809 GB, free: 73.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/0.9482, allocations: 0.5059 MB / 0.6814 GB, free: 73.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.9628, allocations: 7.022 MB / 0.6883 GB, free: 70.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/0.966, allocations: 2.357 MB / 0.6906 GB, free: 69.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002147/0.9682, allocations: 411.4 kB / 0.691 GB, free: 69.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.9687, allocations: 139.5 kB / 0.6911 GB, free: 69.23 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.9687, allocations: 3 kB / 0.6911 GB, free: 69.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04839/1.017, allocations: 31.1 MB / 0.7215 GB, free: 67.64 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches