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.001005/0.001005, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 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.0009967/0.0009967, allocations: 169.2 kB / 23.98 MB, free: 0.5781 MB / 18.57 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 0.8741/0.8741, allocations: 158.6 MB / 185.8 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.4747/0.4747, allocations: 90.28 MB / 328.3 MB, free: 15 MB / 314.7 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 1.984e-06/1.984e-06, allocations: 0 / 0.4935 GB, free: 21.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.448e-05, allocations: 3.656 kB / 0.4935 GB, free: 21.13 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002116/0.002141, allocations: 1.887 MB / 0.4954 GB, free: 19.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.00292, allocations: 0.5726 MB / 0.4959 GB, free: 19.46 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.002996, allocations: 9.031 kB / 0.4959 GB, free: 19.45 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.003314, allocations: 50.33 kB / 0.496 GB, free: 19.42 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.003501, allocations: 87.78 kB / 0.4961 GB, free: 19.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.003706, allocations: 99.19 kB / 0.4962 GB, free: 19.33 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.003945, allocations: 243 kB / 0.4964 GB, free: 19.22 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004064, allocations: 32.62 kB / 0.4964 GB, free: 19.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004185, allocations: 101.8 kB / 0.4965 GB, free: 19.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.004361, allocations: 123.4 kB / 0.4966 GB, free: 19.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.004405, allocations: 19.94 kB / 0.4967 GB, free: 19.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.004434, allocations: 22.81 kB / 0.4967 GB, free: 19.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.004517, allocations: 71.41 kB / 0.4967 GB, free: 19.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.004573, allocations: 58.02 kB / 0.4968 GB, free: 19.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.004849, allocations: 244.5 kB / 0.497 GB, free: 18.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004852, allocations: 0.6094 kB / 0.497 GB, free: 18.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004854, allocations: 1.375 kB / 0.497 GB, free: 18.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004858, allocations: 0 / 0.497 GB, free: 18.95 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007448/0.005603, allocations: 494.9 kB / 0.4975 GB, free: 18.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.005641, allocations: 10.45 kB / 0.4975 GB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.005688, allocations: 22.55 kB / 0.4975 GB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.006059, allocations: 279.4 kB / 0.4978 GB, free: 18.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.006069, allocations: 5.875 kB / 0.4978 GB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.006092, allocations: 5.875 kB / 0.4978 GB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.006251, allocations: 110.2 kB / 0.4979 GB, free: 18.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.006259, allocations: 1.094 kB / 0.4979 GB, free: 18.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.006271, allocations: 6.516 kB / 0.4979 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006277, allocations: 9.938 kB / 0.4979 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.006433, allocations: 101.9 kB / 0.498 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.006986, allocations: 408.3 kB / 0.4984 GB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.007291, allocations: 164.7 kB / 0.4986 GB, free: 17.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.007359, allocations: 54.66 kB / 0.4986 GB, free: 17.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007372, allocations: 1.281 kB / 0.4986 GB, free: 17.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.007386, allocations: 38.02 kB / 0.4987 GB, free: 17.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.007387, allocations: 0 / 0.4987 GB, free: 17.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005298/0.007917, allocations: 262.8 kB / 0.4989 GB, free: 17.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.007942, allocations: 52.97 kB / 0.499 GB, free: 17.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.008332, allocations: 329.7 kB / 0.4993 GB, free: 17.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.008343, allocations: 31.08 kB / 0.4993 GB, free: 17.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.0084, allocations: 130 kB / 0.4994 GB, free: 17.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.008439, allocations: 34.98 kB / 0.4995 GB, free: 17.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.008475, allocations: 26.78 kB / 0.4995 GB, free: 17.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.008521, allocations: 329.7 kB / 0.4998 GB, free: 16.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.008588, allocations: 45.67 kB / 0.4999 GB, free: 16.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.008648, allocations: 45.17 kB / 0.4999 GB, free: 16.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.009173, allocations: 265.5 kB / 0.5002 GB, free: 16.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009175, allocations: 0 / 0.5002 GB, free: 16.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/0.009442, allocations: 211.5 kB / 0.5004 GB, free: 16.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.009457, allocations: 6.094 kB / 0.5004 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.009463, allocations: 4.594 kB / 0.5004 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.009608, allocations: 41.34 kB / 0.5004 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.00966, allocations: 13.98 kB / 0.5004 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007593/0.01042, allocations: 1.429 MB / 0.5018 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01053, allocations: 34.19 kB / 0.5018 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01054, allocations: 1.344 kB / 0.5018 GB, free: 15.39 MB / 442.7 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.0001625/0.0107, allocations: 168.7 kB / 0.502 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.01073, allocations: 15.94 kB / 0.502 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.01076, allocations: 25.39 kB / 0.502 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01076, allocations: 1.719 kB / 0.502 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01077, allocations: 0.9062 kB / 0.502 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01077, allocations: 0.6562 kB / 0.502 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01094, allocations: 194.4 kB / 0.5022 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01094, allocations: 0.6094 kB / 0.5022 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.01099, allocations: 10.41 kB / 0.5022 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.104e-05/0.01108, allocations: 45.5 kB / 0.5023 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01109, allocations: 7.203 kB / 0.5023 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/0.0117, allocations: 1.421 MB / 0.5037 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0117, allocations: 1.156 kB / 0.5037 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.01203, allocations: 344 kB / 0.504 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.01207, allocations: 31.42 kB / 0.504 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01208, allocations: 18.88 kB / 0.5041 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.0122, allocations: 24.53 kB / 0.5041 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.01224, allocations: 11.8 kB / 0.5041 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01225, allocations: 1.125 kB / 0.5041 GB, free: 13.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002734/0.01252, allocations: 251.6 kB / 0.5043 GB, free: 13.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01252, allocations: 4 kB / 0.5043 GB, free: 13.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01273, allocations: 35.22 kB / 0.5044 GB, free: 13.33 MB / 442.7 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 7.925e-05/0.01281, allocations: 98.09 kB / 0.5045 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.01313, allocations: 241.7 kB / 0.5047 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01313, allocations: 0 / 0.5047 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.01327, allocations: 186.6 kB / 0.5049 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01351, allocations: 23.97 kB / 0.5049 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.01405, allocations: 420.8 kB / 0.5053 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.971e-05/0.01415, allocations: 130.4 kB / 0.5054 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.01419, allocations: 16.12 kB / 0.5054 GB, free: 12.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.01419, allocations: 0 / 0.5054 GB, free: 12.55 MB / 442.7 MB Notification: Performance of Templates: time 0.004942/0.01913, allocations: 3.295 MB / 0.5087 GB, free: 12.28 MB / 442.7 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: 5.4103456335142255]