Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0008426/0.0008426, allocations: 86.61 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 8 kB / 328.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2838, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.6737, allocations: 151.4 MB / 0.5149 GB, free: 104.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.674, allocations: 105.6 kB / 0.515 GB, free: 104.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23/1.905, allocations: 357.4 MB / 0.8641 GB, free: 38.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.898e-06/1.905, allocations: 0 / 0.8641 GB, free: 38.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001219/1.906, allocations: 263.4 kB / 0.8643 GB, free: 38.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.04698/1.953, allocations: 11.14 MB / 0.8752 GB, free: 34.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.953, allocations: 7.812 kB / 0.8752 GB, free: 34.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03226/1.985, allocations: 5.429 MB / 0.8805 GB, free: 34.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03112/2.016, allocations: 9.505 MB / 0.8898 GB, free: 33.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/2.018, allocations: 0.8065 MB / 0.8906 GB, free: 33.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006583/2.024, allocations: 1.064 MB / 0.8916 GB, free: 33.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06047/2.085, allocations: 18.13 MB / 0.9093 GB, free: 31.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000752/2.086, allocations: 19.7 kB / 0.9093 GB, free: 31.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005906/2.091, allocations: 471.7 kB / 0.9098 GB, free: 31.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001204/2.093, allocations: 0.7438 MB / 0.9105 GB, free: 31.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04456/2.137, allocations: 16.83 MB / 0.927 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4248/2.562, allocations: 58.44 MB / 0.984 GB, free: 41.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/2.586, allocations: 26.17 MB / 1.01 GB, free: 25.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0485/2.634, allocations: 22.51 MB / 1.032 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008429/2.643, allocations: 5.527 MB / 1.037 GB, free: 24.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=706): time 1.025e-05/2.643, allocations: 2.219 kB / 1.037 GB, free: 24.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=724): time 0.08498/2.728, allocations: 43.77 MB / 1.08 GB, free: 16.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/2.728, allocations: 440.2 kB / 1.08 GB, free: 15.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/2.735, allocations: 3.5 MB / 1.084 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001677/2.737, allocations: 126.5 kB / 1.084 GB, free: 14.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004031/2.741, allocations: 4.299 MB / 1.088 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003201/2.744, allocations: 2.416 MB / 1.09 GB, free: 9.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000701/2.745, allocations: 138.2 kB / 1.09 GB, free: 9.219 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005307/2.746, allocations: 0.6 MB / 1.091 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006627/2.752, allocations: 4.485 MB / 1.095 GB, free: 6.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008408/2.761, allocations: 6.192 MB / 1.101 GB, free: 3.074 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009278/2.77, allocations: 5.512 MB / 1.107 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.036e-05/2.77, allocations: 10.84 kB / 1.107 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of matching and sorting (n=947) (initialization): time 0.0322/2.802, allocations: 14.01 MB / 1.12 GB, free: 12.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/2.802, allocations: 27.95 kB / 1.12 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/2.802, allocations: 44 kB / 1.121 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/2.811, allocations: 3.863 MB / 1.124 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/2.817, allocations: 1.317 MB / 1.126 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/2.837, allocations: 16.78 MB / 1.142 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006835/2.843, allocations: 377.2 kB / 1.142 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/2.845, allocations: 299.1 kB / 1.143 GB, free: 7.238 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 (692): * Single equations (assignments): 651 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.01059/2.856, allocations: 3.952 MB / 1.146 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/2.858, allocations: 0.54 MB / 1.147 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3285/3.186, allocations: 14.21 MB / 1.161 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001807/3.187, allocations: 158.9 kB / 1.161 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/3.187, allocations: 5.875 kB / 1.161 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/3.187, allocations: 32.95 kB / 1.161 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.055/3.242, allocations: 27.08 MB / 1.188 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.163e-05/3.242, allocations: 0.9375 kB / 1.188 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004803/3.247, allocations: 0.896 MB / 1.188 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008444/3.255, allocations: 4.002 MB / 1.192 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/3.257, allocations: 162.1 kB / 1.192 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/3.275, allocations: 21.01 MB / 1.213 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.275, allocations: 0 / 1.213 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03083/3.306, allocations: 20.03 MB / 1.233 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005338/3.311, allocations: 1.662 MB / 1.234 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/3.313, allocations: 115.3 kB / 1.234 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004397/3.318, allocations: 298.8 kB / 1.235 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/3.319, allocations: 0.5196 MB / 1.235 GB, free: 58.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005991/3.32, allocations: 197.1 kB / 1.235 GB, free: 58.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005062/3.325, allocations: 2.682 MB / 1.238 GB, free: 57.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.325, allocations: 1.859 kB / 1.238 GB, free: 57.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01163/3.337, allocations: 2.026 MB / 1.24 GB, free: 57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (486): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.002932/3.34, allocations: 0.8843 MB / 1.241 GB, free: 56.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02135/3.361, allocations: 11.84 MB / 1.252 GB, free: 51.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/3.361, allocations: 2.734 kB / 1.252 GB, free: 51.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01132/3.372, allocations: 6.746 MB / 1.259 GB, free: 48.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/3.379, allocations: 1.221 MB / 1.26 GB, free: 48.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04656/3.426, allocations: 27.36 MB / 1.287 GB, free: 32.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/3.437, allocations: 7.183 MB / 1.294 GB, free: 27.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006646/3.444, allocations: 1.67 MB / 1.295 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/3.445, allocations: 400.4 kB / 1.296 GB, free: 25.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/3.445, allocations: 0 / 1.296 GB, free: 25.59 MB / 490.7 MB Notification: Performance of Templates: time 0.4813/3.927, allocations: 122.5 MB / 1.415 GB, free: 60.97 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches