Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001417/0.001417, allocations: 82.64 kB / 19.96 MB, free: 1.754 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.001534/0.001534, allocations: 162.3 kB / 23.23 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7597/0.7597, allocations: 90.26 MB / 327.5 MB, free: 68 kB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.917e-06/3.917e-06, allocations: 0 / 0.4928 GB, free: 1.035 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.613e-05/6.004e-05, allocations: 6.281 kB / 0.4928 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.3986/0.3986, allocations: 1.872 MB / 0.4946 GB, free: 51.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3998, allocations: 0.581 MB / 0.4952 GB, free: 51.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4, allocations: 9.031 kB / 0.4952 GB, free: 51.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.4004, allocations: 48.52 kB / 0.4953 GB, free: 51.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.4006, allocations: 91.03 kB / 0.4953 GB, free: 51.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.4009, allocations: 97.12 kB / 0.4954 GB, free: 51.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.4012, allocations: 240.3 kB / 0.4957 GB, free: 51.19 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.4014, allocations: 31.48 kB / 0.4957 GB, free: 51.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.4015, allocations: 100.8 kB / 0.4958 GB, free: 51.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.4017, allocations: 115.6 kB / 0.4959 GB, free: 51.1 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.4018, allocations: 23.81 kB / 0.4959 GB, free: 51.1 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.535e-05/0.4018, allocations: 25.47 kB / 0.4959 GB, free: 51.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.4019, allocations: 66.94 kB / 0.496 GB, free: 51.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.402, allocations: 59.12 kB / 0.4961 GB, free: 51.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.4023, allocations: 246.8 kB / 0.4963 GB, free: 50.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4023, allocations: 0 / 0.4963 GB, free: 50.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4023, allocations: 0 / 0.4963 GB, free: 50.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4023, allocations: 4.031 kB / 0.4963 GB, free: 50.93 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00121/0.4035, allocations: 497.1 kB / 0.4968 GB, free: 50.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4035, allocations: 9.594 kB / 0.4968 GB, free: 50.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.4036, allocations: 24.45 kB / 0.4968 GB, free: 50.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.4041, allocations: 276.7 kB / 0.4971 GB, free: 50.36 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4041, allocations: 9.156 kB / 0.4971 GB, free: 50.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4042, allocations: 3.156 kB / 0.4971 GB, free: 50.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.4044, allocations: 110.5 kB / 0.4972 GB, free: 50.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4044, allocations: 1.375 kB / 0.4972 GB, free: 50.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4044, allocations: 4.375 kB / 0.4972 GB, free: 50.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4044, allocations: 6.812 kB / 0.4972 GB, free: 50.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.4046, allocations: 104.8 kB / 0.4973 GB, free: 50.26 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.4053, allocations: 419.6 kB / 0.4977 GB, free: 49.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.4057, allocations: 157 kB / 0.4979 GB, free: 49.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.4058, allocations: 57.64 kB / 0.4979 GB, free: 49.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4059, allocations: 5.812 kB / 0.4979 GB, free: 49.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.4059, allocations: 30.56 kB / 0.4979 GB, free: 49.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4059, allocations: 0 / 0.4979 GB, free: 49.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007853/0.4067, allocations: 261.2 kB / 0.4982 GB, free: 49.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4067, allocations: 58.78 kB / 0.4982 GB, free: 49.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.4072, allocations: 323.6 kB / 0.4986 GB, free: 49.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4072, allocations: 29.7 kB / 0.4986 GB, free: 49.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.4073, allocations: 129.3 kB / 0.4987 GB, free: 49.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.4073, allocations: 33.33 kB / 0.4987 GB, free: 49.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4074, allocations: 22.09 kB / 0.4988 GB, free: 49.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.4074, allocations: 334.5 kB / 0.4991 GB, free: 48.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.4075, allocations: 45.02 kB / 0.4991 GB, free: 48.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.4076, allocations: 54.8 kB / 0.4992 GB, free: 48.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.4084, allocations: 262.9 kB / 0.4994 GB, free: 48.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4084, allocations: 0 / 0.4994 GB, free: 48.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00037/0.4088, allocations: 210.1 kB / 0.4996 GB, free: 48.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4088, allocations: 2.938 kB / 0.4996 GB, free: 48.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4088, allocations: 3.938 kB / 0.4996 GB, free: 48.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.409, allocations: 47.2 kB / 0.4997 GB, free: 48.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.4091, allocations: 12.34 kB / 0.4997 GB, free: 48.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.4101, allocations: 1.425 MB / 0.5011 GB, free: 47.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.4104, allocations: 31.05 kB / 0.5011 GB, free: 47.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4104, allocations: 2.375 kB / 0.5011 GB, free: 47.41 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.X0[1] * simplifiedSFR.inertia.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.X0[1] * simplifiedSFR.feedbackLoop.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.4106, allocations: 160.7 kB / 0.5013 GB, free: 47.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.4106, allocations: 15.47 kB / 0.5013 GB, free: 47.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.4107, allocations: 29.83 kB / 0.5013 GB, free: 47.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4107, allocations: 0 / 0.5013 GB, free: 47.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4107, allocations: 2.5 kB / 0.5013 GB, free: 47.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4107, allocations: 0 / 0.5013 GB, free: 47.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.4109, allocations: 199.9 kB / 0.5015 GB, free: 47.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4109, allocations: 0 / 0.5015 GB, free: 47.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.411, allocations: 8.125 kB / 0.5015 GB, free: 47.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.4111, allocations: 48.92 kB / 0.5016 GB, free: 47.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4111, allocations: 0 / 0.5016 GB, free: 47.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009349/0.412, allocations: 1.425 MB / 0.5029 GB, free: 45.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.412, allocations: 0 / 0.5029 GB, free: 45.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4125, allocations: 352.2 kB / 0.5033 GB, free: 45.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.4126, allocations: 34.66 kB / 0.5033 GB, free: 45.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.4126, allocations: 4.875 kB / 0.5033 GB, free: 45.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4129, allocations: 31.97 kB / 0.5034 GB, free: 45.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.4129, allocations: 12.98 kB / 0.5034 GB, free: 45.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4129, allocations: 0 / 0.5034 GB, free: 45.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004623/0.4134, allocations: 251 kB / 0.5036 GB, free: 45.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4134, allocations: 0 / 0.5036 GB, free: 45.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.4137, allocations: 42.33 kB / 0.5036 GB, free: 45.36 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.4138, allocations: 100.7 kB / 0.5037 GB, free: 45.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.4143, allocations: 229.3 kB / 0.504 GB, free: 45.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4143, allocations: 0 / 0.504 GB, free: 45.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.4145, allocations: 185.6 kB / 0.5041 GB, free: 44.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4149, allocations: 26.84 kB / 0.5042 GB, free: 44.97 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.4156, allocations: 383.8 kB / 0.5045 GB, free: 44.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.4157, allocations: 128.4 kB / 0.5047 GB, free: 44.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.392e-05/0.4158, allocations: 30.31 kB / 0.5047 GB, free: 44.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.4159, allocations: 13.75 kB / 0.5047 GB, free: 44.63 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4159, allocations: 2.438 kB / 0.5047 GB, free: 44.63 MB / 478.1 MB Notification: Performance of Templates: time 0.005917/0.4218, allocations: 2.48 MB / 0.5071 GB, free: 44.38 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.040595825761557]