Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.00128/0.00128, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 92.47 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.605e-05, allocations: 4 kB / 337.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 50.42 MB / 387.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5473, allocations: 152.1 MB / 0.5269 GB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5476, allocations: 103.9 kB / 0.527 GB, free: 6.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17/1.717, allocations: 352.1 MB / 0.8709 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.717, allocations: 3.938 kB / 0.8709 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001181/1.719, allocations: 251.7 kB / 0.8711 GB, free: 0.5391 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.6418/2.36, allocations: 10.37 MB / 0.8813 GB, free: 21.48 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/2.36, allocations: 12.3 kB / 0.8813 GB, free: 21.48 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02964/2.39, allocations: 4.755 MB / 0.8859 GB, free: 20.89 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0268/2.417, allocations: 9.552 MB / 0.8952 GB, free: 19.87 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000771/2.418, allocations: 347.8 kB / 0.8956 GB, free: 19.87 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004681/2.422, allocations: 0.6226 MB / 0.8962 GB, free: 19.86 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02872/2.451, allocations: 13.65 MB / 0.9095 GB, free: 19.81 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04543/2.497, allocations: 15.31 MB / 0.9245 GB, free: 18.67 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007272/2.497, allocations: 24.77 kB / 0.9245 GB, free: 18.66 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/2.501, allocations: 10.66 kB / 0.9245 GB, free: 18.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008891/2.502, allocations: 0.7585 MB / 0.9252 GB, free: 18.64 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/2.604, allocations: 54.68 MB / 0.9786 GB, free: 0.8398 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03134/2.636, allocations: 32.81 MB / 1.011 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008177/2.644, allocations: 4.35 MB / 1.015 GB, free: 2.27 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/2.673, allocations: 12.72 MB / 1.027 GB, free: 12.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006441/2.68, allocations: 3.095 MB / 1.03 GB, free: 10.01 MB / 490.8 MB Notification: Performance of pre-optimization done (n=432): time 1.04e-05/2.68, allocations: 0 / 1.03 GB, free: 10.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=450): time 0.05734/2.737, allocations: 20.88 MB / 1.051 GB, free: 8.301 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/2.737, allocations: 411.4 kB / 1.051 GB, free: 7.812 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00814/2.745, allocations: 3.362 MB / 1.054 GB, free: 4.809 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001149/2.747, allocations: 25.7 kB / 1.054 GB, free: 4.777 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006189/2.753, allocations: 4.762 MB / 1.059 GB, free: 0.5312 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.302/3.055, allocations: 1.471 MB / 1.061 GB, free: 83.52 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005661/3.056, allocations: 1.375 kB / 1.061 GB, free: 83.52 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004158/3.056, allocations: 0.5441 MB / 1.061 GB, free: 83.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/3.06, allocations: 2.813 MB / 1.064 GB, free: 83.18 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006073/3.066, allocations: 4.932 MB / 1.069 GB, free: 80.68 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009842/3.076, allocations: 4.722 MB / 1.073 GB, free: 80.64 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/3.076, allocations: 18.16 kB / 1.073 GB, free: 80.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02179/3.098, allocations: 9.938 MB / 1.083 GB, free: 80.36 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/3.098, allocations: 37.95 kB / 1.083 GB, free: 80.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/3.099, allocations: 65.62 kB / 1.083 GB, free: 80.35 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/3.102, allocations: 1.467 MB / 1.084 GB, free: 80.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/3.108, allocations: 1.364 MB / 1.086 GB, free: 80.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/3.125, allocations: 15.7 MB / 1.101 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/3.131, allocations: 282.3 kB / 1.101 GB, free: 74.09 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/3.133, allocations: 286.4 kB / 1.102 GB, free: 74.09 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 680 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001412/3.134, allocations: 300.8 kB / 1.102 GB, free: 73.98 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/3.135, allocations: 468.3 kB / 1.102 GB, free: 73.84 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/3.151, allocations: 8.601 MB / 1.111 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/3.151, allocations: 53.95 kB / 1.111 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/3.151, allocations: 18.36 kB / 1.111 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-05/3.152, allocations: 26.92 kB / 1.111 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/3.182, allocations: 17.1 MB / 1.128 GB, free: 72.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/3.182, allocations: 3.688 kB / 1.128 GB, free: 72.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/3.185, allocations: 0.7973 MB / 1.128 GB, free: 72.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004008/3.189, allocations: 1.514 MB / 1.13 GB, free: 72.05 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007179/3.19, allocations: 48.53 kB / 1.13 GB, free: 72.05 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/3.209, allocations: 18.87 MB / 1.148 GB, free: 63.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/3.209, allocations: 5.938 kB / 1.148 GB, free: 63.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/3.228, allocations: 12.8 MB / 1.161 GB, free: 60.55 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/3.232, allocations: 1.153 MB / 1.162 GB, free: 59.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/3.233, allocations: 18.09 kB / 1.162 GB, free: 59.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/3.236, allocations: 211.8 kB / 1.162 GB, free: 59.86 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007073/3.237, allocations: 347.6 kB / 1.163 GB, free: 59.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/3.237, allocations: 134.1 kB / 1.163 GB, free: 59.77 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003951/3.241, allocations: 2.495 MB / 1.165 GB, free: 58.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.91e-07/3.241, allocations: 4 kB / 1.165 GB, free: 58.73 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009417/3.25, allocations: 1.723 MB / 1.167 GB, free: 58.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 386 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(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.002556/3.253, allocations: 0.7096 MB / 1.167 GB, free: 58.52 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01398/3.267, allocations: 7.878 MB / 1.175 GB, free: 55.17 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/3.267, allocations: 4.344 kB / 1.175 GB, free: 55.17 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008879/3.276, allocations: 4.584 MB / 1.18 GB, free: 52.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/3.282, allocations: 0.9269 MB / 1.181 GB, free: 52.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/3.319, allocations: 16.67 MB / 1.197 GB, free: 39.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008441/3.327, allocations: 7.025 MB / 1.204 GB, free: 33.83 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006502/3.334, allocations: 1.839 MB / 1.206 GB, free: 32.61 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/3.335, allocations: 370.4 kB / 1.206 GB, free: 32.27 MB / 0.4949 GB Notification: Performance of SimCode: time 8.11e-07/3.335, allocations: 0 / 1.206 GB, free: 32.27 MB / 0.4949 GB Notification: Performance of Templates: time 0.4877/3.823, allocations: 72.34 MB / 1.277 GB, free: 68.12 MB / 0.4949 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches