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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 53.42 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01546/0.291, allocations: 11.95 MB / 444.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008676/0.2997, allocations: 4.015 MB / 448.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.3018, allocations: 79.5 kB / 448.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.3047, allocations: 0.8891 MB / 449.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.3087, allocations: 1.041 MB / 450.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.3106, allocations: 0.5499 MB / 451 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.3159, allocations: 3.479 MB / 454.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003824/0.3197, allocations: 1.538 MB / 456 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00391/0.3236, allocations: 1.585 MB / 457.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005272/0.3289, allocations: 1.997 MB / 459.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.3306, allocations: 408 kB / 460 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.3338, allocations: 0.6947 MB / 460.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.3366, allocations: 1.161 MB / 461.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004775/0.3413, allocations: 1.847 MB / 463.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.3529, allocations: 5.406 MB / 469.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3529, allocations: 0 / 469.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3529, allocations: 0 / 469.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.3531, allocations: 0 / 469.1 MB, free: 1.941 MB / 366.1 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.0152/0.3683, allocations: 3.749 MB / 472.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3684, allocations: 12.03 kB / 472.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.372, allocations: 490.5 kB / 473.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/0.3788, allocations: 1.906 MB / 475.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.3791, allocations: 205.4 kB / 475.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009858/0.3801, allocations: 267.9 kB / 475.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008435/0.3885, allocations: 3.521 MB / 479.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.89e-05/0.3886, allocations: 7.938 kB / 479.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.3888, allocations: 116 kB / 479.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.389, allocations: 117.3 kB / 479.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/0.3946, allocations: 2.972 MB / 482.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.4142, allocations: 10.82 MB / 493.2 MB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.4171, allocations: 1.506 MB / 494.7 MB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.4191, allocations: 1.105 MB / 495.9 MB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.4194, allocations: 49.28 kB / 495.9 MB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.4195, allocations: 47.88 kB / 495.9 MB, free: 6.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.527e-06/0.4195, allocations: 0 / 495.9 MB, free: 6.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01675/0.4362, allocations: 7.1 MB / 0.4913 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.4363, allocations: 64.72 kB / 0.4913 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.4395, allocations: 2 MB / 0.4933 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.4397, allocations: 45.7 kB / 0.4933 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.4409, allocations: 1.35 MB / 0.4946 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/0.4414, allocations: 0.5307 MB / 0.4952 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005407/0.442, allocations: 327.5 kB / 0.4955 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4421, allocations: 301.1 kB / 0.4958 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.4436, allocations: 0.8861 MB / 0.4966 GB, free: 9.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.4456, allocations: 1.38 MB / 0.498 GB, free: 8.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.4492, allocations: 2.373 MB / 0.5003 GB, free: 5.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4492, allocations: 8 kB / 0.5003 GB, free: 5.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005448/0.4547, allocations: 2.911 MB / 0.5031 GB, free: 2.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4547, allocations: 12 kB / 0.5031 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.4547, allocations: 16 kB / 0.5032 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.4559, allocations: 465.3 kB / 0.5036 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.4575, allocations: 423.3 kB / 0.504 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/0.4647, allocations: 5.889 MB / 0.5098 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.4666, allocations: 119.8 kB / 0.5099 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4668, allocations: 83.98 kB / 0.51 GB, free: 11.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001521/0.4683, allocations: 0.8558 MB / 0.5108 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.4687, allocations: 238.4 kB / 0.511 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/0.4733, allocations: 2.5 MB / 0.5135 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.4733, allocations: 16 kB / 0.5135 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4733, allocations: 4 kB / 0.5135 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.4733, allocations: 7.969 kB / 0.5135 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009815/0.4831, allocations: 5.511 MB / 0.5189 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4831, allocations: 4 kB / 0.5189 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.4844, allocations: 275.6 kB / 0.5191 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4857, allocations: 0.4984 MB / 0.5196 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.4858, allocations: 43.97 kB / 0.5197 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.4942, allocations: 7.37 MB / 0.5269 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4942, allocations: 4 kB / 0.5269 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006379/0.5006, allocations: 3.765 MB / 0.5305 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.5018, allocations: 430.4 kB / 0.531 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.5021, allocations: 32 kB / 0.531 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5032, allocations: 95.88 kB / 0.5311 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.5035, allocations: 125 kB / 0.5312 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5036, allocations: 43.98 kB / 0.5312 GB, free: 5.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.5058, allocations: 1.372 MB / 0.5326 GB, free: 3.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5058, allocations: 0 / 0.5326 GB, free: 3.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001914/0.5077, allocations: 0.582 MB / 0.5331 GB, free: 3.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004751/0.5081, allocations: 229.2 kB / 0.5334 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.5126, allocations: 2.434 MB / 0.5357 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5126, allocations: 0 / 0.5357 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2336/0.7462, allocations: 1.538 MB / 0.5372 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.7491, allocations: 495.3 kB / 0.5377 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.7596, allocations: 5.773 MB / 0.5434 GB, free: 99.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.7613, allocations: 2.112 MB / 0.5454 GB, free: 98.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/0.7621, allocations: 148.8 kB / 0.5456 GB, free: 98.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7621, allocations: 0 / 0.5456 GB, free: 98.72 MB / 446.1 MB Notification: Performance of Templates: time 0.06663/0.8287, allocations: 76 MB / 0.6198 GB, free: 27.96 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.539096771040931]