Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 181 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.264/1.264, allocations: 205.4 MB / 223.6 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.0007593/0.0007594, allocations: 78.44 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002948, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3549, allocations: 119.9 MB / 495.6 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.3553, allocations: 91.95 kB / 495.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6425/0.9978, allocations: 160.1 MB / 0.6404 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.9978, allocations: 4 kB / 0.6404 GB, free: 6.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004636/0.9983, allocations: 99.88 kB / 0.6405 GB, free: 6.262 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01547/1.014, allocations: 4.329 MB / 0.6448 GB, free: 1.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.014, allocations: 8.031 kB / 0.6448 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/1.02, allocations: 0.9207 MB / 0.6457 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.271/1.291, allocations: 3.238 MB / 0.6488 GB, free: 59.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.291, allocations: 304.2 kB / 0.6491 GB, free: 59.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/1.293, allocations: 402.2 kB / 0.6495 GB, free: 59.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/1.305, allocations: 5.174 MB / 0.6546 GB, free: 58.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-05/1.305, allocations: 3.938 kB / 0.6546 GB, free: 58.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/1.306, allocations: 168.6 kB / 0.6547 GB, free: 58.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/1.306, allocations: 170.1 kB / 0.6549 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00804/1.314, allocations: 4.217 MB / 0.659 GB, free: 58.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/1.344, allocations: 16.9 MB / 0.6755 GB, free: 54.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/1.35, allocations: 8.418 MB / 0.6837 GB, free: 48.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/1.353, allocations: 1.706 MB / 0.6854 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007742/1.36, allocations: 4.877 MB / 0.6902 GB, free: 47.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.361, allocations: 55.28 kB / 0.6902 GB, free: 47.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.347e-06/1.361, allocations: 3.188 kB / 0.6902 GB, free: 47.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.01129/1.372, allocations: 6.121 MB / 0.6962 GB, free: 45.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/1.372, allocations: 73 kB / 0.6963 GB, free: 45.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.375, allocations: 2.255 MB / 0.6985 GB, free: 44.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/1.375, allocations: 56.11 kB / 0.6985 GB, free: 44.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.376, allocations: 1.836 MB / 0.7003 GB, free: 43.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/1.377, allocations: 0.548 MB / 0.7008 GB, free: 42.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/1.377, allocations: 43.28 kB / 0.7009 GB, free: 42.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/1.377, allocations: 392.5 kB / 0.7013 GB, free: 42.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/1.378, allocations: 0.8291 MB / 0.7021 GB, free: 42.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/1.38, allocations: 1.529 MB / 0.7036 GB, free: 40.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/1.383, allocations: 2.506 MB / 0.706 GB, free: 39.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.383, allocations: 14.19 kB / 0.706 GB, free: 39.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004317/1.387, allocations: 2.837 MB / 0.7088 GB, free: 38.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.387, allocations: 19.91 kB / 0.7088 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.387, allocations: 22.56 kB / 0.7088 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/1.388, allocations: 127.9 kB / 0.7089 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.389, allocations: 0.5396 MB / 0.7095 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/1.391, allocations: 1.812 MB / 0.7112 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.393, allocations: 126.2 kB / 0.7114 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.393, allocations: 93.66 kB / 0.7115 GB, free: 36.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002511/1.395, allocations: 1.196 MB / 0.7126 GB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/1.396, allocations: 240.1 kB / 0.7129 GB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/1.4, allocations: 2.438 MB / 0.7152 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.4, allocations: 14.28 kB / 0.7152 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.4, allocations: 3.938 kB / 0.7152 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.4, allocations: 9.75 kB / 0.7153 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009192/1.409, allocations: 5.75 MB / 0.7209 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.409, allocations: 0.8438 kB / 0.7209 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.41, allocations: 300.3 kB / 0.7212 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007659/1.411, allocations: 313.6 kB / 0.7215 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.411, allocations: 42.36 kB / 0.7215 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/1.416, allocations: 6.341 MB / 0.7277 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.417, allocations: 0 / 0.7277 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/1.422, allocations: 3.541 MB / 0.7312 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.423, allocations: 0.4947 MB / 0.7316 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.424, allocations: 34.81 kB / 0.7317 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.425, allocations: 91.31 kB / 0.7318 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/1.425, allocations: 123.5 kB / 0.7319 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.901e-05/1.425, allocations: 46.36 kB / 0.7319 GB, free: 24.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002424/1.428, allocations: 1.519 MB / 0.7334 GB, free: 23.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.428, allocations: 0 / 0.7334 GB, free: 23.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002739/1.43, allocations: 0.7266 MB / 0.7341 GB, free: 23.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006475/1.431, allocations: 407.6 kB / 0.7345 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003512/1.435, allocations: 2.242 MB / 0.7367 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.435, allocations: 0 / 0.7367 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.437, allocations: 1.447 MB / 0.7381 GB, free: 22.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.44, allocations: 0.571 MB / 0.7387 GB, free: 21.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.454, allocations: 8.325 MB / 0.7468 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/1.456, allocations: 2.593 MB / 0.7493 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/1.457, allocations: 180.6 kB / 0.7495 GB, free: 16.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/1.457, allocations: 3.094 kB / 0.7495 GB, free: 16.16 MB / 410.7 MB Notification: Performance of Templates: time 0.3553/1.812, allocations: 96.05 MB / 0.8433 GB, free: 83.34 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches