Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 182.2 kB / 18.04 MB, free: 3.781 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.304/1.304, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007344/0.0007343, allocations: 83.86 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003093, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.3557, allocations: 114.8 MB / 491.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.356, allocations: 83.95 kB / 491.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3522/0.7082, allocations: 85.73 MB / 0.5641 GB, free: 54.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7082, allocations: 0 / 0.5641 GB, free: 54.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001805/0.7084, allocations: 75.88 kB / 0.5642 GB, free: 54.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.005597/0.714, allocations: 3.146 MB / 0.5673 GB, free: 50.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7141, allocations: 11.97 kB / 0.5673 GB, free: 50.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.7154, allocations: 440.7 kB / 0.5677 GB, free: 50.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.7186, allocations: 2.023 MB / 0.5697 GB, free: 48.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.7187, allocations: 201.8 kB / 0.5699 GB, free: 48.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.7191, allocations: 276.2 kB / 0.5701 GB, free: 47.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.724, allocations: 3.537 MB / 0.5736 GB, free: 44.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/0.7241, allocations: 4 kB / 0.5736 GB, free: 44.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.7244, allocations: 112 kB / 0.5737 GB, free: 44.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.387e-05/0.7245, allocations: 117.3 kB / 0.5738 GB, free: 44.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.7289, allocations: 2.855 MB / 0.5766 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.744, allocations: 11.25 MB / 0.5876 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.7463, allocations: 2.337 MB / 0.5899 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.7476, allocations: 1.047 MB / 0.5909 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.7479, allocations: 223.5 kB / 0.5911 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.7479, allocations: 52.34 kB / 0.5912 GB, free: 25.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=134): time 3.627e-06/0.7479, allocations: 0 / 0.5912 GB, free: 25.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.01619/0.7641, allocations: 8.548 MB / 0.5995 GB, free: 17.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.7642, allocations: 68.72 kB / 0.5996 GB, free: 16.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.7667, allocations: 1.948 MB / 0.6015 GB, free: 14.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.7669, allocations: 57.64 kB / 0.6015 GB, free: 14.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000607/0.7675, allocations: 1.308 MB / 0.6028 GB, free: 13.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.7678, allocations: 0.5353 MB / 0.6033 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.7679, allocations: 36 kB / 0.6034 GB, free: 13.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.768, allocations: 373.8 kB / 0.6037 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.7693, allocations: 0.9486 MB / 0.6047 GB, free: 11.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.7708, allocations: 1.408 MB / 0.606 GB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.7736, allocations: 2.49 MB / 0.6085 GB, free: 7.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7736, allocations: 4 kB / 0.6085 GB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004859/0.7785, allocations: 3.16 MB / 0.6116 GB, free: 4.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.7786, allocations: 12 kB / 0.6116 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/0.7786, allocations: 19.94 kB / 0.6116 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.7801, allocations: 0.623 MB / 0.6122 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.7816, allocations: 439.3 kB / 0.6126 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.7888, allocations: 5.721 MB / 0.6182 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.7907, allocations: 139.8 kB / 0.6183 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.791, allocations: 71.98 kB / 0.6184 GB, free: 13.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001707/0.7927, allocations: 0.867 MB / 0.6192 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.7932, allocations: 213.4 kB / 0.6194 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.7982, allocations: 2.843 MB / 0.6222 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.7982, allocations: 16 kB / 0.6222 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7982, allocations: 4 kB / 0.6222 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.7982, allocations: 7.969 kB / 0.6223 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.8084, allocations: 5.875 MB / 0.628 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.8084, allocations: 7.984 kB / 0.628 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.8096, allocations: 283.9 kB / 0.6283 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.8114, allocations: 0.6967 MB / 0.6289 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.8115, allocations: 39.92 kB / 0.629 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/0.8203, allocations: 7.447 MB / 0.6363 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.8203, allocations: 4 kB / 0.6363 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/0.8271, allocations: 4.146 MB / 0.6403 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.8283, allocations: 0.4905 MB / 0.6408 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.8285, allocations: 39.98 kB / 0.6408 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.8296, allocations: 115.8 kB / 0.6409 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/0.8299, allocations: 125.1 kB / 0.6411 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.8301, allocations: 47.98 kB / 0.6411 GB, free: 5.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00221/0.8323, allocations: 1.336 MB / 0.6424 GB, free: 3.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8323, allocations: 4 kB / 0.6424 GB, free: 3.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002389/0.8347, allocations: 0.6834 MB / 0.6431 GB, free: 3.297 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006127/0.8353, allocations: 328.1 kB / 0.6434 GB, free: 2.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004694/0.84, allocations: 2.798 MB / 0.6461 GB, free: 132 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.84, allocations: 8.188 kB / 0.6461 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1645/1.005, allocations: 1.739 MB / 0.6478 GB, free: 94.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.008, allocations: 483.2 kB / 0.6483 GB, free: 94.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009093/1.017, allocations: 6.726 MB / 0.6549 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.019, allocations: 2.154 MB / 0.657 GB, free: 90.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001545/1.02, allocations: 454 kB / 0.6574 GB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/1.021, allocations: 134.7 kB / 0.6575 GB, free: 90.95 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/1.021, allocations: 0 / 0.6575 GB, free: 90.95 MB / 410.7 MB Notification: Performance of Templates: time 0.05111/1.072, allocations: 34.35 MB / 0.6911 GB, free: 89.22 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches