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.001087/0.001087, allocations: 180.8 kB / 16.38 MB, free: 5.766 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.237/1.237, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0008234/0.0008233, allocations: 101.5 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002804, allocations: 7.938 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2313, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.5615, allocations: 114.5 MB / 0.5039 GB, free: 48.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.5618, allocations: 105.1 kB / 0.504 GB, free: 48.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1726/0.7344, allocations: 84.01 MB / 0.586 GB, free: 17.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7345, allocations: 3.938 kB / 0.586 GB, free: 17.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002968/0.7348, allocations: 75.94 kB / 0.5861 GB, free: 17.18 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.01091/0.7457, allocations: 3.633 MB / 0.5896 GB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7457, allocations: 12.03 kB / 0.5897 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00448/0.7502, allocations: 0.749 MB / 0.5904 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.7614, allocations: 3.402 MB / 0.5937 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.7617, allocations: 238.4 kB / 0.5939 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.7628, allocations: 323.8 kB / 0.5942 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009687/0.7725, allocations: 4.187 MB / 0.5983 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.7727, allocations: 7.984 kB / 0.5983 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007366/0.7735, allocations: 135.9 kB / 0.5985 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.7736, allocations: 150.4 kB / 0.5986 GB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006736/0.7804, allocations: 3.414 MB / 0.6019 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02553/0.8059, allocations: 13.47 MB / 0.6151 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007142/0.8131, allocations: 6.963 MB / 0.6219 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006797/0.8199, allocations: 3.319 MB / 0.6251 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.8215, allocations: 0.908 MB / 0.626 GB, free: 6.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 4.548e-06/0.8215, allocations: 0 / 0.626 GB, free: 6.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01399/0.8355, allocations: 6.917 MB / 0.6328 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.8357, allocations: 226.9 kB / 0.633 GB, free: 15.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.8383, allocations: 1.65 MB / 0.6346 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.8385, allocations: 53.64 kB / 0.6347 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.8399, allocations: 1.467 MB / 0.6361 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.8403, allocations: 0.516 MB / 0.6366 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.8404, allocations: 36 kB / 0.6366 GB, free: 11.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8406, allocations: 373.9 kB / 0.637 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.8417, allocations: 0.6989 MB / 0.6377 GB, free: 10.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.8432, allocations: 1.225 MB / 0.6389 GB, free: 9.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.8446, allocations: 0.916 MB / 0.6398 GB, free: 8.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.8446, allocations: 7.953 kB / 0.6398 GB, free: 8.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00416/0.8487, allocations: 2.494 MB / 0.6422 GB, free: 5.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.8488, allocations: 10.81 kB / 0.6422 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.8488, allocations: 16 kB / 0.6422 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/0.8496, allocations: 295.5 kB / 0.6425 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.8511, allocations: 403.3 kB / 0.6429 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.8566, allocations: 5.919 MB / 0.6487 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.8585, allocations: 104.1 kB / 0.6488 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.8587, allocations: 71.94 kB / 0.6488 GB, free: 14.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (204): * Single equations (assignments): 200 * 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%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002234/0.861, allocations: 1.044 MB / 0.6499 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.8614, allocations: 201.6 kB / 0.6501 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.8655, allocations: 2.387 MB / 0.6524 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.8655, allocations: 12.38 kB / 0.6524 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.8655, allocations: 8 kB / 0.6524 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.8655, allocations: 7.969 kB / 0.6524 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009427/0.875, allocations: 5.423 MB / 0.6577 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.875, allocations: 4 kB / 0.6577 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.8759, allocations: 207.7 kB / 0.6579 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.8772, allocations: 463.9 kB / 0.6584 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.8773, allocations: 39.98 kB / 0.6584 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.237/1.114, allocations: 10.31 MB / 0.6685 GB, free: 86.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.114, allocations: 3.188 kB / 0.6685 GB, free: 86.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/1.119, allocations: 3.434 MB / 0.6718 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.12, allocations: 459.2 kB / 0.6723 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/1.12, allocations: 33.53 kB / 0.6723 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/1.121, allocations: 80.22 kB / 0.6724 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/1.121, allocations: 110.7 kB / 0.6725 GB, free: 86.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/1.121, allocations: 43.55 kB / 0.6725 GB, free: 86.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00161/1.123, allocations: 1.275 MB / 0.6738 GB, free: 86.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0 / 0.6738 GB, free: 86.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002088/1.125, allocations: 0.6407 MB / 0.6744 GB, free: 86.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (115): * Single equations (assignments): 108 * 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%) 8,(1,100.0%) 3,(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.001259/1.126, allocations: 0.6702 MB / 0.675 GB, free: 86.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/1.13, allocations: 2.271 MB / 0.6773 GB, free: 85.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.13, allocations: 0 / 0.6773 GB, free: 85.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.132, allocations: 1.637 MB / 0.6789 GB, free: 84.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.134, allocations: 0.4991 MB / 0.6793 GB, free: 84.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/1.143, allocations: 7.14 MB / 0.6863 GB, free: 81.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/1.145, allocations: 2.42 MB / 0.6887 GB, free: 81.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001698/1.146, allocations: 418.8 kB / 0.6891 GB, free: 81.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.147, allocations: 143.5 kB / 0.6892 GB, free: 81.11 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/1.147, allocations: 0 / 0.6892 GB, free: 81.11 MB / 442.7 MB Notification: Performance of Templates: time 0.04618/1.193, allocations: 31.09 MB / 0.7196 GB, free: 79.5 MB / 442.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/jenkins/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