Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007929/0.0007929, allocations: 101.1 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.965e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09176, allocations: 51.47 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4456, allocations: 115.2 MB / 0.4984 GB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4459, allocations: 82.33 kB / 0.4985 GB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4505/0.8964, allocations: 85.33 MB / 0.5818 GB, free: 83.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8964, allocations: 0 / 0.5818 GB, free: 83.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002713/0.8967, allocations: 82.53 kB / 0.5819 GB, free: 83.42 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006858/0.9035, allocations: 2.796 MB / 0.5846 GB, free: 82.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.9036, allocations: 12.94 kB / 0.5846 GB, free: 82.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.906, allocations: 482.7 kB / 0.5851 GB, free: 82.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.9104, allocations: 1.956 MB / 0.587 GB, free: 81.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.9106, allocations: 87.75 kB / 0.5871 GB, free: 81.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000707/0.9113, allocations: 161.1 kB / 0.5872 GB, free: 81.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004787/0.9161, allocations: 2.542 MB / 0.5897 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/0.9219, allocations: 3.007 MB / 0.5927 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.813e-05/0.922, allocations: 13.27 kB / 0.5927 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.9224, allocations: 3.219 kB / 0.5927 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.9225, allocations: 114.5 kB / 0.5928 GB, free: 81.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.9394, allocations: 10.72 MB / 0.6033 GB, free: 78.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.9415, allocations: 2.206 MB / 0.6054 GB, free: 77.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.9427, allocations: 0.9419 MB / 0.6063 GB, free: 77.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.943, allocations: 222.7 kB / 0.6065 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.9431, allocations: 52.31 kB / 0.6066 GB, free: 77.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=136): time 4.128e-06/0.9431, allocations: 2.688 kB / 0.6066 GB, free: 77.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=160): time 0.0101/0.9532, allocations: 5.725 MB / 0.6122 GB, free: 76.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.9532, allocations: 67.62 kB / 0.6122 GB, free: 76.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.9563, allocations: 1.454 MB / 0.6137 GB, free: 76.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.9564, allocations: 25.7 kB / 0.6137 GB, free: 76.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.9572, allocations: 1.309 MB / 0.615 GB, free: 75.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.9576, allocations: 0.5229 MB / 0.6155 GB, free: 75.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9577, allocations: 0 / 0.6155 GB, free: 75.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9578, allocations: 382.9 kB / 0.6158 GB, free: 74.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.9592, allocations: 0.8489 MB / 0.6167 GB, free: 74.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.9609, allocations: 1.288 MB / 0.6179 GB, free: 74.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.9625, allocations: 1.066 MB / 0.619 GB, free: 74.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.9625, allocations: 3.438 kB / 0.619 GB, free: 74.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004742/0.9673, allocations: 2.846 MB / 0.6218 GB, free: 73.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.9673, allocations: 10.69 kB / 0.6218 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.9674, allocations: 16.08 kB / 0.6218 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.969, allocations: 0.6151 MB / 0.6224 GB, free: 73.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.9706, allocations: 446.3 kB / 0.6228 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.9778, allocations: 5.491 MB / 0.6282 GB, free: 70.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.9797, allocations: 101.6 kB / 0.6283 GB, free: 70.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.9799, allocations: 74.38 kB / 0.6283 GB, free: 70.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 195 * 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.0003012/0.9802, allocations: 147.9 kB / 0.6285 GB, free: 70.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.9805, allocations: 195.4 kB / 0.6287 GB, free: 69.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.9851, allocations: 2.588 MB / 0.6312 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.9851, allocations: 15.22 kB / 0.6312 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.9852, allocations: 6.609 kB / 0.6312 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.9852, allocations: 12.09 kB / 0.6312 GB, free: 68.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008012/0.9932, allocations: 5.312 MB / 0.6364 GB, free: 66.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9932, allocations: 7.922 kB / 0.6364 GB, free: 66.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9944, allocations: 290.4 kB / 0.6367 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.9959, allocations: 0.6803 MB / 0.6374 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-05/0.9961, allocations: 22.11 kB / 0.6374 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006752/1.003, allocations: 7.145 MB / 0.6444 GB, free: 62.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.003, allocations: 8.375 kB / 0.6444 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/1.008, allocations: 4.016 MB / 0.6483 GB, free: 60.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/1.009, allocations: 485.7 kB / 0.6488 GB, free: 60.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/1.009, allocations: 11.64 kB / 0.6488 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.01, allocations: 87.75 kB / 0.6489 GB, free: 60.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.01, allocations: 130.5 kB / 0.649 GB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.65e-05/1.01, allocations: 46.62 kB / 0.649 GB, free: 60.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001372/1.012, allocations: 1.099 MB / 0.6501 GB, free: 59.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.012, allocations: 0 / 0.6501 GB, free: 59.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002015/1.014, allocations: 0.5741 MB / 0.6507 GB, free: 59.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 119 * 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.0005518/1.014, allocations: 336.1 kB / 0.651 GB, free: 59.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003277/1.018, allocations: 2.562 MB / 0.6535 GB, free: 58.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.018, allocations: 0 / 0.6535 GB, free: 58.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/1.02, allocations: 1.624 MB / 0.6551 GB, free: 57.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.021, allocations: 356.9 kB / 0.6554 GB, free: 57.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/1.028, allocations: 4.539 MB / 0.6598 GB, free: 55.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.029, allocations: 2.209 MB / 0.662 GB, free: 54.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001337/1.031, allocations: 443.7 kB / 0.6624 GB, free: 54.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/1.031, allocations: 125.9 kB / 0.6625 GB, free: 54.54 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/1.031, allocations: 0 / 0.6625 GB, free: 54.54 MB / 442.7 MB Notification: Performance of Templates: time 0.05408/1.085, allocations: 27.29 MB / 0.6892 GB, free: 48.99 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches