Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008954/0.0008955, allocations: 175.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.000825, allocations: 92.11 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 11.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2648, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.5742, allocations: 115.3 MB / 0.5059 GB, free: 101 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5744, allocations: 93.77 kB / 0.506 GB, free: 101 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2084/0.7829, allocations: 86.06 MB / 0.59 GB, free: 24.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7829, allocations: 0 / 0.59 GB, free: 24.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003153/0.7833, allocations: 71.94 kB / 0.5901 GB, free: 24.12 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.007782/0.7911, allocations: 3.146 MB / 0.5932 GB, free: 20.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7911, allocations: 16.02 kB / 0.5932 GB, free: 20.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.7932, allocations: 444.6 kB / 0.5936 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.7982, allocations: 2.039 MB / 0.5956 GB, free: 18.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.7984, allocations: 209.7 kB / 0.5958 GB, free: 18.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008544/0.7993, allocations: 260.4 kB / 0.596 GB, free: 17.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/0.8063, allocations: 3.522 MB / 0.5995 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.595e-05/0.8064, allocations: 19.81 kB / 0.5995 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.8068, allocations: 116 kB / 0.5996 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.604e-05/0.8069, allocations: 117.3 kB / 0.5997 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006261/0.8132, allocations: 2.847 MB / 0.6025 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.8321, allocations: 11.24 MB / 0.6135 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.8352, allocations: 2.35 MB / 0.6158 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.8369, allocations: 1.036 MB / 0.6168 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.8373, allocations: 227.4 kB / 0.617 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.8373, allocations: 51.88 kB / 0.617 GB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 3.676e-06/0.8373, allocations: 4 kB / 0.617 GB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=158): time 0.01987/0.8572, allocations: 8.553 MB / 0.6254 GB, free: 3.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8573, allocations: 68.72 kB / 0.6255 GB, free: 2.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.8608, allocations: 1.952 MB / 0.6274 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.8611, allocations: 49.7 kB / 0.6274 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.8621, allocations: 1.3 MB / 0.6287 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.8628, allocations: 0.543 MB / 0.6292 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.8629, allocations: 36 kB / 0.6293 GB, free: 14.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8631, allocations: 377.8 kB / 0.6296 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.8651, allocations: 0.9447 MB / 0.6305 GB, free: 13.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.8669, allocations: 1.411 MB / 0.6319 GB, free: 12.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.8704, allocations: 2.497 MB / 0.6344 GB, free: 9.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.8704, allocations: 4 kB / 0.6344 GB, free: 9.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005586/0.876, allocations: 3.168 MB / 0.6375 GB, free: 6.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.8761, allocations: 11.94 kB / 0.6375 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.8761, allocations: 16 kB / 0.6375 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.8778, allocations: 0.6237 MB / 0.6381 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.8794, allocations: 447.3 kB / 0.6385 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/0.8872, allocations: 5.725 MB / 0.6441 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8891, allocations: 143.8 kB / 0.6442 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.8893, allocations: 71.94 kB / 0.6443 GB, free: 15.03 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * 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.001635/0.8909, allocations: 0.8569 MB / 0.6451 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.8913, allocations: 213.4 kB / 0.6454 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/0.8963, allocations: 2.854 MB / 0.6481 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8964, allocations: 16 kB / 0.6482 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.8964, allocations: 4 kB / 0.6482 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.8964, allocations: 7.969 kB / 0.6482 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009974/0.9064, allocations: 5.906 MB / 0.6539 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.9064, allocations: 4 kB / 0.6539 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.9076, allocations: 287.9 kB / 0.6542 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.9095, allocations: 0.6889 MB / 0.6549 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.9096, allocations: 55.91 kB / 0.6549 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2077/1.117, allocations: 7.427 MB / 0.6622 GB, free: 90.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.117, allocations: 7.312 kB / 0.6622 GB, free: 90.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/1.123, allocations: 4.162 MB / 0.6663 GB, free: 90.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009155/1.124, allocations: 0.4927 MB / 0.6667 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.124, allocations: 33.92 kB / 0.6668 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.126, allocations: 117.3 kB / 0.6669 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.126, allocations: 125.4 kB / 0.667 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/1.126, allocations: 48.56 kB / 0.6671 GB, free: 89.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0018/1.128, allocations: 1.341 MB / 0.6684 GB, free: 89.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.128, allocations: 0 / 0.6684 GB, free: 89.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002033/1.13, allocations: 0.6721 MB / 0.669 GB, free: 89.81 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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.0005556/1.13, allocations: 344.5 kB / 0.6693 GB, free: 89.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004104/1.135, allocations: 2.812 MB / 0.6721 GB, free: 89.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.135, allocations: 0 / 0.6721 GB, free: 89.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.137, allocations: 1.754 MB / 0.6738 GB, free: 89.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.141, allocations: 482 kB / 0.6743 GB, free: 89.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009722/1.15, allocations: 6.754 MB / 0.6809 GB, free: 86.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/1.152, allocations: 2.148 MB / 0.683 GB, free: 85.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001819/1.154, allocations: 456.2 kB / 0.6834 GB, free: 85.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/1.154, allocations: 139.6 kB / 0.6835 GB, free: 85.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.154, allocations: 0 / 0.6835 GB, free: 85.63 MB / 426.7 MB Notification: Performance of Templates: time 0.05034/1.205, allocations: 34.35 MB / 0.7171 GB, free: 81.87 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches