Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001011/0.001011, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.551/1.551, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007751/0.000775, allocations: 90.36 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.6579, allocations: 152 MB / 0.5154 GB, free: 104.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6582, allocations: 115.3 kB / 0.5155 GB, free: 104.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21/1.868, allocations: 354.2 MB / 0.8614 GB, free: 37.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.897e-06/1.868, allocations: 0 / 0.8614 GB, free: 37.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001089/1.87, allocations: 265 kB / 0.8617 GB, free: 37.68 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.04008/1.91, allocations: 11.02 MB / 0.8724 GB, free: 33.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.91, allocations: 10.53 kB / 0.8725 GB, free: 33.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/1.941, allocations: 5.432 MB / 0.8778 GB, free: 33.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/1.964, allocations: 8.803 MB / 0.8864 GB, free: 32.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/1.965, allocations: 0.8066 MB / 0.8871 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005587/1.971, allocations: 1.066 MB / 0.8882 GB, free: 32.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05703/2.028, allocations: 18.21 MB / 0.906 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001042/2.029, allocations: 26.78 kB / 0.906 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0069/2.036, allocations: 461.6 kB / 0.9064 GB, free: 30.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/2.037, allocations: 0.7462 MB / 0.9072 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03945/2.077, allocations: 16.83 MB / 0.9236 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4417/2.518, allocations: 58.15 MB / 0.9804 GB, free: 42.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02218/2.541, allocations: 26.18 MB / 1.006 GB, free: 27.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01294/2.554, allocations: 7.15 MB / 1.013 GB, free: 27.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04615/2.6, allocations: 22.42 MB / 1.035 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/2.61, allocations: 5.494 MB / 1.04 GB, free: 25.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=698): time 2.029e-05/2.611, allocations: 0 / 1.04 GB, free: 25.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=716): time 0.09281/2.703, allocations: 39.62 MB / 1.079 GB, free: 18.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/2.704, allocations: 430.3 kB / 1.079 GB, free: 17.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008198/2.712, allocations: 3.954 MB / 1.083 GB, free: 16.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00189/2.714, allocations: 130.2 kB / 1.083 GB, free: 16.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004709/2.719, allocations: 4.312 MB / 1.087 GB, free: 13.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005019/2.724, allocations: 2.394 MB / 1.09 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/2.726, allocations: 132.6 kB / 1.09 GB, free: 11.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001005/2.727, allocations: 0.5975 MB / 1.091 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008558/2.735, allocations: 4.452 MB / 1.095 GB, free: 8.863 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.746, allocations: 6.202 MB / 1.101 GB, free: 5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02491/2.771, allocations: 11.41 MB / 1.112 GB, free: 15.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/2.771, allocations: 18.03 kB / 1.112 GB, free: 15.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03835/2.809, allocations: 13.81 MB / 1.126 GB, free: 3.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.81, allocations: 24 kB / 1.126 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/2.81, allocations: 48.16 kB / 1.126 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009833/2.82, allocations: 3.868 MB / 1.129 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/2.83, allocations: 1.581 MB / 1.131 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/2.852, allocations: 16.69 MB / 1.147 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009451/2.862, allocations: 437.2 kB / 1.148 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002793/2.865, allocations: 303.6 kB / 1.148 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.01493/2.88, allocations: 3.939 MB / 1.152 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003797/2.884, allocations: 0.5434 MB / 1.152 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03802/2.922, allocations: 13.48 MB / 1.166 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003166/2.922, allocations: 159.5 kB / 1.166 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001206/2.922, allocations: 11.2 kB / 1.166 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002217/2.922, allocations: 33.09 kB / 1.166 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4153/3.338, allocations: 26.99 MB / 1.192 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.221e-05/3.338, allocations: 3.344 kB / 1.192 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00512/3.343, allocations: 0.8736 MB / 1.193 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/3.353, allocations: 3.967 MB / 1.197 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001897/3.355, allocations: 163.3 kB / 1.197 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/3.376, allocations: 20.88 MB / 1.217 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/3.376, allocations: 6.594 kB / 1.217 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0356/3.412, allocations: 19.76 MB / 1.237 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005747/3.418, allocations: 1.655 MB / 1.238 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/3.42, allocations: 117.6 kB / 1.238 GB, free: 78.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005134/3.425, allocations: 293.5 kB / 1.239 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/3.427, allocations: 0.5175 MB / 1.239 GB, free: 78.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006614/3.428, allocations: 197.3 kB / 1.239 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005773/3.434, allocations: 2.684 MB / 1.242 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.41e-07/3.434, allocations: 0 / 1.242 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01382/3.448, allocations: 2.021 MB / 1.244 GB, free: 77.14 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.003684/3.451, allocations: 0.8795 MB / 1.245 GB, free: 76.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02472/3.476, allocations: 11.76 MB / 1.256 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.476, allocations: 2.344 kB / 1.256 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/3.492, allocations: 6.705 MB / 1.263 GB, free: 68.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01516/3.507, allocations: 1.287 MB / 1.264 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06415/3.571, allocations: 26.45 MB / 1.29 GB, free: 54.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/3.585, allocations: 6.798 MB / 1.297 GB, free: 51.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/3.588, allocations: 450.2 kB / 1.297 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of SimCode: time 2.304e-06/3.588, allocations: 0 / 1.297 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of Templates: time 3.482/7.069, allocations: 1.029 GB / 2.326 GB, free: 114.1 MB / 0.5261 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches