Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2411, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01377/0.2548, allocations: 10.44 MB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007623/0.2625, allocations: 3.76 MB / 446.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2642, allocations: 79.5 kB / 446.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.2664, allocations: 0.854 MB / 447.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.2693, allocations: 1.037 MB / 448.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.2706, allocations: 0.5227 MB / 449 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.2747, allocations: 3.479 MB / 452.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.277, allocations: 1.538 MB / 454 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2794, allocations: 1.589 MB / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.2824, allocations: 1.985 MB / 457.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006822/0.283, allocations: 412 kB / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.2844, allocations: 0.6402 MB / 458.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.2856, allocations: 1.157 MB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.2874, allocations: 1.494 MB / 461.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00608/0.2935, allocations: 5.43 MB / 466.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2935, allocations: 3.938 kB / 466.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2935, allocations: 0 / 466.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.2936, allocations: 0 / 466.7 MB, free: 4.137 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.008251/0.3019, allocations: 3.741 MB / 470.5 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3019, allocations: 8.031 kB / 470.5 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3037, allocations: 486.6 kB / 471 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.3077, allocations: 1.918 MB / 472.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3079, allocations: 197.4 kB / 473.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/0.3084, allocations: 275.9 kB / 473.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006321/0.3147, allocations: 3.658 MB / 477 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-05/0.3148, allocations: 4 kB / 477 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.315, allocations: 108 kB / 477.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3152, allocations: 121.3 kB / 477.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.3205, allocations: 2.968 MB / 480.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.3391, allocations: 9.573 MB / 489.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.3419, allocations: 1.495 MB / 491.3 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.344, allocations: 1.086 MB / 492.4 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.3442, allocations: 61.2 kB / 492.4 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.3443, allocations: 47.81 kB / 492.5 MB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.967e-06/0.3443, allocations: 0 / 492.5 MB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01724/0.3615, allocations: 7.083 MB / 499.5 MB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.3616, allocations: 64.72 kB / 499.6 MB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.3645, allocations: 1.835 MB / 0.4897 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.3647, allocations: 45.7 kB / 0.4897 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.3658, allocations: 1.357 MB / 0.4911 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005221/0.3663, allocations: 0.5307 MB / 0.4916 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.3669, allocations: 323.5 kB / 0.4919 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3671, allocations: 301.1 kB / 0.4922 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.3687, allocations: 0.8862 MB / 0.493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3707, allocations: 1.38 MB / 0.4944 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/0.3744, allocations: 2.377 MB / 0.4967 GB, free: 9.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.3744, allocations: 4 kB / 0.4967 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005627/0.3801, allocations: 2.9 MB / 0.4995 GB, free: 6.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.3801, allocations: 11.94 kB / 0.4996 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.3801, allocations: 16 kB / 0.4996 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3814, allocations: 461.2 kB / 0.5 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.3831, allocations: 443.2 kB / 0.5004 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/0.3906, allocations: 5.783 MB / 0.5061 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3924, allocations: 127.8 kB / 0.5062 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.3926, allocations: 71.98 kB / 0.5063 GB, free: 15.21 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.001547/0.3942, allocations: 0.8525 MB / 0.5071 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.3946, allocations: 202.7 kB / 0.5073 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.3994, allocations: 2.503 MB / 0.5097 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.3994, allocations: 16 kB / 0.5098 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3994, allocations: 11.94 kB / 0.5098 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.3994, allocations: 12.05 kB / 0.5098 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009524/0.4089, allocations: 4.849 MB / 0.5145 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.409, allocations: 8.406 kB / 0.5145 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.4103, allocations: 283.6 kB / 0.5148 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.4117, allocations: 0.4903 MB / 0.5153 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4118, allocations: 35.98 kB / 0.5153 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/0.4204, allocations: 7.24 MB / 0.5224 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4204, allocations: 7.938 kB / 0.5224 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00671/0.4271, allocations: 3.749 MB / 0.526 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.4284, allocations: 398.5 kB / 0.5264 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.4287, allocations: 35.98 kB / 0.5265 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.4299, allocations: 99.95 kB / 0.5266 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.4302, allocations: 129 kB / 0.5267 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.4303, allocations: 43.98 kB / 0.5267 GB, free: 9.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.4322, allocations: 1.235 MB / 0.5279 GB, free: 8.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4322, allocations: 4 kB / 0.5279 GB, free: 8.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001939/0.4342, allocations: 0.582 MB / 0.5285 GB, free: 7.93 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.0004629/0.4346, allocations: 214.9 kB / 0.5287 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.4392, allocations: 2.443 MB / 0.5311 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4392, allocations: 0 / 0.5311 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.442, allocations: 1.549 MB / 0.5326 GB, free: 3.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.4441, allocations: 427.5 kB / 0.533 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1949/0.6391, allocations: 5.696 MB / 0.5386 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.6409, allocations: 1.578 MB / 0.5401 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001475/0.6424, allocations: 450.7 kB / 0.5405 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.6429, allocations: 133.5 kB / 0.5407 GB, free: 100.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6429, allocations: 0 / 0.5407 GB, free: 100.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0435/0.6864, allocations: 33.73 MB / 0.5736 GB, free: 73.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.4494312799943145]