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.0009972/0.0009972, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.5/1.5, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008942/0.0008945, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.972e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 47.57 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5334, allocations: 151.3 MB / 0.5092 GB, free: 6.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5338, allocations: 105.9 kB / 0.5093 GB, free: 6.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.822/2.356, allocations: 357.2 MB / 0.8581 GB, free: 22.46 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.185e-06/2.356, allocations: 0 / 0.8581 GB, free: 22.46 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001002/2.357, allocations: 258.1 kB / 0.8583 GB, free: 22.46 MB / 442.8 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.04305/2.4, allocations: 10.47 MB / 0.8685 GB, free: 21.02 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/2.4, allocations: 10.12 kB / 0.8686 GB, free: 21.02 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03259/2.433, allocations: 5.4 MB / 0.8738 GB, free: 20.42 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/2.46, allocations: 9.467 MB / 0.8831 GB, free: 19.4 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/2.461, allocations: 0.8086 MB / 0.8839 GB, free: 19.38 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005835/2.467, allocations: 1.057 MB / 0.8849 GB, free: 19.37 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05437/2.521, allocations: 17.92 MB / 0.9024 GB, free: 18.15 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006588/2.522, allocations: 19.53 kB / 0.9024 GB, free: 18.14 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004789/2.527, allocations: 462.9 kB / 0.9029 GB, free: 18.14 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009073/2.528, allocations: 0.747 MB / 0.9036 GB, free: 18.12 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04056/2.568, allocations: 16.55 MB / 0.9197 GB, free: 18.03 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/2.683, allocations: 58.14 MB / 0.9765 GB, free: 11.95 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02619/2.709, allocations: 26.01 MB / 1.002 GB, free: 8.148 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01212/2.721, allocations: 7.063 MB / 1.009 GB, free: 3.184 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05285/2.774, allocations: 22.37 MB / 1.031 GB, free: 464 kB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3492/3.123, allocations: 6.716 MB / 1.037 GB, free: 73.08 MB / 490.8 MB Notification: Performance of pre-optimization done (n=696): time 2.598e-05/3.123, allocations: 0 / 1.037 GB, free: 73.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=714): time 0.06293/3.186, allocations: 28.94 MB / 1.065 GB, free: 70.67 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/3.186, allocations: 433.1 kB / 1.066 GB, free: 70.23 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/3.192, allocations: 3.466 MB / 1.069 GB, free: 69.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001687/3.193, allocations: 133.2 kB / 1.069 GB, free: 69.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004085/3.198, allocations: 4.31 MB / 1.074 GB, free: 67.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003013/3.201, allocations: 2.389 MB / 1.076 GB, free: 66.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/3.201, allocations: 136.6 kB / 1.076 GB, free: 66.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004877/3.202, allocations: 0.5961 MB / 1.077 GB, free: 65.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005953/3.208, allocations: 4.375 MB / 1.081 GB, free: 65.97 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008007/3.216, allocations: 6.09 MB / 1.087 GB, free: 64.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008875/3.225, allocations: 5.411 MB / 1.092 GB, free: 64.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.007e-05/3.225, allocations: 11.62 kB / 1.092 GB, free: 64.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02407/3.249, allocations: 13.36 MB / 1.105 GB, free: 63.41 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/3.249, allocations: 26.16 kB / 1.105 GB, free: 63.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.47e-05/3.249, allocations: 44.47 kB / 1.105 GB, free: 63.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007193/3.256, allocations: 3.846 MB / 1.109 GB, free: 63.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/3.262, allocations: 1.303 MB / 1.11 GB, free: 63.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/3.277, allocations: 16.63 MB / 1.127 GB, free: 53.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006791/3.284, allocations: 384.8 kB / 1.127 GB, free: 53.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/3.286, allocations: 298.6 kB / 1.127 GB, free: 53.53 MB / 490.8 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 643 * 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.001492/3.287, allocations: 494.7 kB / 1.128 GB, free: 53.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/3.289, allocations: 0.5351 MB / 1.128 GB, free: 52.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/3.31, allocations: 13.32 MB / 1.141 GB, free: 47.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001353/3.31, allocations: 157.9 kB / 1.141 GB, free: 47.03 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/3.31, allocations: 10.72 kB / 1.141 GB, free: 47.03 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.52e-05/3.31, allocations: 35.31 kB / 1.141 GB, free: 47.03 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04579/3.356, allocations: 26.74 MB / 1.168 GB, free: 33.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/3.356, allocations: 3.469 kB / 1.168 GB, free: 33.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/3.36, allocations: 0.882 MB / 1.168 GB, free: 32.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007801/3.368, allocations: 3.927 MB / 1.172 GB, free: 29.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002047/3.37, allocations: 161.5 kB / 1.172 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/3.388, allocations: 20.79 MB / 1.193 GB, free: 8.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/3.388, allocations: 9.75 kB / 1.193 GB, free: 8.906 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03469/3.423, allocations: 19.78 MB / 1.212 GB, free: 7.293 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/3.428, allocations: 1.638 MB / 1.214 GB, free: 5.809 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002251/3.43, allocations: 126.9 kB / 1.214 GB, free: 5.688 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006031/3.436, allocations: 291.3 kB / 1.214 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002111/3.439, allocations: 0.5173 MB / 1.215 GB, free: 5.148 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008417/3.439, allocations: 196.1 kB / 1.215 GB, free: 4.977 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005131/3.445, allocations: 2.644 MB / 1.217 GB, free: 2.578 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.41e-07/3.445, allocations: 0 / 1.217 GB, free: 2.578 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01197/3.457, allocations: 2.015 MB / 1.219 GB, free: 0.5742 MB / 0.4949 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * Single equations (assignments): 432 * 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%) 3,(1,100.0%) 8,(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.3282/3.785, allocations: 0.9483 MB / 1.22 GB, free: 81.41 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02539/3.81, allocations: 11.58 MB / 1.231 GB, free: 80.54 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/3.81, allocations: 1.375 kB / 1.231 GB, free: 80.54 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01386/3.824, allocations: 6.615 MB / 1.238 GB, free: 79.65 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00922/3.833, allocations: 1.206 MB / 1.239 GB, free: 79.61 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04721/3.881, allocations: 19.89 MB / 1.259 GB, free: 76.41 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/3.891, allocations: 7.183 MB / 1.266 GB, free: 75.38 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006443/3.898, allocations: 1.652 MB / 1.267 GB, free: 75.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/3.899, allocations: 399.2 kB / 1.268 GB, free: 75.19 MB / 0.4949 GB Notification: Performance of SimCode: time 1.322e-06/3.899, allocations: 10.28 kB / 1.268 GB, free: 75.18 MB / 0.4949 GB Notification: Performance of Templates: time 0.1677/4.067, allocations: 117.4 MB / 1.382 GB, free: 22.4 MB / 0.4949 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/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