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: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.000889, allocations: 86.02 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.147e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4298, allocations: 115.9 MB / 0.5058 GB, free: 6.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.4301, allocations: 82.77 kB / 0.5058 GB, free: 6.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4341/0.8643, allocations: 86.44 MB / 0.5903 GB, free: 78.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8643, allocations: 1.875 kB / 0.5903 GB, free: 78.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002477/0.8646, allocations: 77.8 kB / 0.5903 GB, free: 78.87 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.007005/0.8716, allocations: 2.803 MB / 0.5931 GB, free: 77.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8717, allocations: 6.844 kB / 0.5931 GB, free: 77.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.8739, allocations: 486.9 kB / 0.5935 GB, free: 77.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.8787, allocations: 1.953 MB / 0.5955 GB, free: 77.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.8789, allocations: 206.1 kB / 0.5957 GB, free: 77.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008419/0.8798, allocations: 269.4 kB / 0.5959 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00812/0.8879, allocations: 3.407 MB / 0.5992 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.8881, allocations: 9.219 kB / 0.5992 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005205/0.8886, allocations: 116.6 kB / 0.5994 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.8887, allocations: 114 kB / 0.5995 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/0.8944, allocations: 2.692 MB / 0.6021 GB, free: 76.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.9151, allocations: 11.23 MB / 0.6131 GB, free: 73.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.9178, allocations: 2.255 MB / 0.6153 GB, free: 72.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.9192, allocations: 0.9784 MB / 0.6162 GB, free: 72.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.9196, allocations: 226.9 kB / 0.6164 GB, free: 72.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.9197, allocations: 51.09 kB / 0.6165 GB, free: 72.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 3.857e-06/0.9197, allocations: 0 / 0.6165 GB, free: 72.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.01785/0.9375, allocations: 7.211 MB / 0.6235 GB, free: 71.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.9376, allocations: 76.22 kB / 0.6236 GB, free: 71.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.9404, allocations: 1.723 MB / 0.6253 GB, free: 71.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.9406, allocations: 51.3 kB / 0.6253 GB, free: 71.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.9414, allocations: 1.296 MB / 0.6266 GB, free: 70.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.9418, allocations: 0.5335 MB / 0.6271 GB, free: 69.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.9419, allocations: 39.69 kB / 0.6272 GB, free: 69.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.942, allocations: 378.2 kB / 0.6275 GB, free: 69.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.9433, allocations: 0.8765 MB / 0.6284 GB, free: 69.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.9446, allocations: 1.327 MB / 0.6297 GB, free: 68.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.9459, allocations: 1.105 MB / 0.6307 GB, free: 67.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.9459, allocations: 3.781 kB / 0.6307 GB, free: 67.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004438/0.9504, allocations: 3.028 MB / 0.6337 GB, free: 66.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9504, allocations: 10.62 kB / 0.6337 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.9505, allocations: 20.75 kB / 0.6337 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.9519, allocations: 0.6201 MB / 0.6343 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.9535, allocations: 442.3 kB / 0.6348 GB, free: 66.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.9598, allocations: 5.717 MB / 0.6403 GB, free: 63.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.9618, allocations: 129.1 kB / 0.6405 GB, free: 63.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.9621, allocations: 77.38 kB / 0.6405 GB, free: 63.36 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 (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.0003122/0.9624, allocations: 210.7 kB / 0.6407 GB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.9628, allocations: 220.4 kB / 0.641 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.9669, allocations: 2.723 MB / 0.6436 GB, free: 62.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.9669, allocations: 14.38 kB / 0.6436 GB, free: 62.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.9669, allocations: 6.75 kB / 0.6436 GB, free: 62.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.9669, allocations: 11.59 kB / 0.6436 GB, free: 62.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/0.9755, allocations: 5.76 MB / 0.6493 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.9756, allocations: 7.516 kB / 0.6493 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.9767, allocations: 286.1 kB / 0.6495 GB, free: 59.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.9784, allocations: 0.6865 MB / 0.6502 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.9785, allocations: 39.95 kB / 0.6503 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/0.9857, allocations: 7.427 MB / 0.6575 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9858, allocations: 3.781 kB / 0.6575 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.991, allocations: 4.14 MB / 0.6616 GB, free: 52.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.9921, allocations: 0.4905 MB / 0.662 GB, free: 52.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.9924, allocations: 33.92 kB / 0.6621 GB, free: 52.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9936, allocations: 113.9 kB / 0.6622 GB, free: 52.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.9939, allocations: 129.2 kB / 0.6623 GB, free: 52.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9941, allocations: 52.66 kB / 0.6623 GB, free: 52.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.9958, allocations: 1.315 MB / 0.6636 GB, free: 52.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9958, allocations: 0 / 0.6636 GB, free: 52.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00212/0.9979, allocations: 0.6897 MB / 0.6643 GB, free: 51.94 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 (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.0005982/0.9985, allocations: 344.4 kB / 0.6646 GB, free: 51.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003584/1.002, allocations: 2.657 MB / 0.6672 GB, free: 50.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.002, allocations: 0 / 0.6672 GB, free: 50.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.004, allocations: 1.688 MB / 0.6689 GB, free: 49.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.007, allocations: 467.6 kB / 0.6693 GB, free: 49.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/1.014, allocations: 4.638 MB / 0.6739 GB, free: 47.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.015, allocations: 2.207 MB / 0.676 GB, free: 46.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001505/1.017, allocations: 453.1 kB / 0.6764 GB, free: 46.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/1.017, allocations: 135 kB / 0.6766 GB, free: 46.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.492e-06/1.017, allocations: 1.781 kB / 0.6766 GB, free: 46.68 MB / 442.7 MB Notification: Performance of Templates: time 0.04727/1.065, allocations: 34.43 MB / 0.7102 GB, free: 23.75 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