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.001069/0.001069, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.411/1.411, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007863/0.0007863, allocations: 90.41 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 47.58 MB / 377.1 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.5609, allocations: 152 MB / 0.5167 GB, free: 104 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5612, allocations: 108.4 kB / 0.5168 GB, free: 103.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155/1.717, allocations: 354.2 MB / 0.8627 GB, free: 37.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.717, allocations: 3.188 kB / 0.8627 GB, free: 37.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007517/1.717, allocations: 263 kB / 0.863 GB, free: 37.64 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.03413/1.751, allocations: 11.02 MB / 0.8737 GB, free: 33.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.752, allocations: 14.77 kB / 0.8737 GB, free: 33.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02982/1.781, allocations: 5.428 MB / 0.879 GB, free: 33.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/1.8, allocations: 8.799 MB / 0.8876 GB, free: 32.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000873/1.801, allocations: 0.812 MB / 0.8884 GB, free: 32.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00607/1.807, allocations: 1.061 MB / 0.8895 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04765/1.855, allocations: 18.22 MB / 0.9073 GB, free: 30.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004734/1.855, allocations: 25.77 kB / 0.9073 GB, free: 30.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003775/1.859, allocations: 464.3 kB / 0.9077 GB, free: 30.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007891/1.86, allocations: 0.7419 MB / 0.9085 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/1.895, allocations: 16.83 MB / 0.9249 GB, free: 24.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3792/2.274, allocations: 58.22 MB / 0.9817 GB, free: 42.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/2.297, allocations: 26.18 MB / 1.007 GB, free: 26.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01213/2.309, allocations: 7.161 MB / 1.014 GB, free: 26.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0432/2.352, allocations: 22.41 MB / 1.036 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007631/2.36, allocations: 5.497 MB / 1.042 GB, free: 25.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=698): time 1.048e-05/2.36, allocations: 0 / 1.042 GB, free: 25.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=716): time 0.07386/2.434, allocations: 39.61 MB / 1.08 GB, free: 18.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/2.434, allocations: 429 kB / 1.081 GB, free: 17.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/2.44, allocations: 3.959 MB / 1.085 GB, free: 16.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009859/2.441, allocations: 125.4 kB / 1.085 GB, free: 15.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003157/2.444, allocations: 4.31 MB / 1.089 GB, free: 12.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/2.446, allocations: 2.391 MB / 1.091 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/2.447, allocations: 139.3 kB / 1.091 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003832/2.447, allocations: 0.601 MB / 1.092 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005953/2.453, allocations: 4.45 MB / 1.096 GB, free: 8.488 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007476/2.461, allocations: 6.197 MB / 1.102 GB, free: 4.625 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/2.48, allocations: 11.52 MB / 1.114 GB, free: 15.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.349e-05/2.48, allocations: 11.84 kB / 1.114 GB, free: 15.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03132/2.512, allocations: 13.8 MB / 1.127 GB, free: 3.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.204e-05/2.512, allocations: 25.41 kB / 1.127 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/2.512, allocations: 48 kB / 1.127 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009595/2.522, allocations: 3.869 MB / 1.131 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008286/2.53, allocations: 1.465 MB / 1.132 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/2.55, allocations: 16.68 MB / 1.149 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007339/2.557, allocations: 434 kB / 1.149 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/2.56, allocations: 305.3 kB / 1.149 GB, free: 15.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * 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 (686): * Single equations (assignments): 645 * 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.01131/2.571, allocations: 3.937 MB / 1.153 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/2.574, allocations: 0.5463 MB / 1.154 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03201/2.606, allocations: 13.48 MB / 1.167 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002459/2.606, allocations: 158 kB / 1.167 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/2.606, allocations: 11.2 kB / 1.167 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001463/2.606, allocations: 30.84 kB / 1.167 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3194/2.926, allocations: 27 MB / 1.193 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.248e-05/2.926, allocations: 4.125 kB / 1.193 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004333/2.93, allocations: 0.8786 MB / 1.194 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009141/2.939, allocations: 3.954 MB / 1.198 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001604/2.941, allocations: 161.3 kB / 1.198 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/2.96, allocations: 20.88 MB / 1.219 GB, free: 82.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.96, allocations: 7.156 kB / 1.219 GB, free: 82.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03192/2.992, allocations: 19.76 MB / 1.238 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/2.997, allocations: 1.646 MB / 1.24 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/3, allocations: 123.5 kB / 1.24 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/3.005, allocations: 300.1 kB / 1.24 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002188/3.007, allocations: 0.5114 MB / 1.24 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001085/3.008, allocations: 200.4 kB / 1.241 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006463/3.014, allocations: 2.683 MB / 1.243 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.32e-07/3.014, allocations: 0 / 1.243 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01083/3.025, allocations: 2.018 MB / 1.245 GB, free: 76.86 MB / 0.4948 GB 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 (478): * Single equations (assignments): 434 * 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.003321/3.029, allocations: 0.8808 MB / 1.246 GB, free: 76.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02216/3.051, allocations: 11.76 MB / 1.258 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/3.051, allocations: 0 / 1.258 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01302/3.064, allocations: 6.703 MB / 1.264 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/3.075, allocations: 1.283 MB / 1.265 GB, free: 68.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05209/3.128, allocations: 26.71 MB / 1.292 GB, free: 53.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/3.142, allocations: 7.005 MB / 1.298 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008153/3.15, allocations: 1.66 MB / 1.3 GB, free: 49.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/3.153, allocations: 397.2 kB / 1.3 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/3.153, allocations: 4 kB / 1.3 GB, free: 49.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.4285/3.581, allocations: 123 MB / 1.42 GB, free: 77.51 MB / 0.4948 GB 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/jenkins1/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