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.002392/0.002392, allocations: 92.91 kB / 20.23 MB, free: 4.191 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.002831/0.002831, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.4/1.4, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.7149/0.7149, allocations: 90.62 MB / 328.2 MB, free: 14.6 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.844e-06/1.844e-06, allocations: 0 / 425 MB, free: 14.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.637e-05, allocations: 2.312 kB / 425 MB, free: 14.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003914/0.00395, allocations: 1.914 MB / 426.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.005202, allocations: 0.6009 MB / 427.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.00528, allocations: 0 / 427.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.005633, allocations: 51.66 kB / 427.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.00592, allocations: 87.64 kB / 427.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.006215, allocations: 103.8 kB / 427.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.006567, allocations: 247.4 kB / 428 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.006715, allocations: 25.8 kB / 428 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.006906, allocations: 103.7 kB / 428.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.007129, allocations: 115.7 kB / 428.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.007182, allocations: 20 kB / 428.2 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.00723, allocations: 24 kB / 428.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.00735, allocations: 67.8 kB / 428.3 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.007446, allocations: 55.84 kB / 428.4 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.007825, allocations: 251.2 kB / 428.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007829, allocations: 0 / 428.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007831, allocations: 0 / 428.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.00784, allocations: 8 kB / 428.6 MB, free: 10.59 MB / 410.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.001097/0.008937, allocations: 0.5461 MB / 429.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.008975, allocations: 8.031 kB / 429.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.009047, allocations: 20.84 kB / 429.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.00954, allocations: 249.2 kB / 429.4 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.009554, allocations: 4.375 kB / 429.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.009584, allocations: 8.375 kB / 429.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.009799, allocations: 85.34 kB / 429.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.009808, allocations: 192 / 429.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.009826, allocations: 4.375 kB / 429.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.009833, allocations: 3.938 kB / 429.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.01005, allocations: 75.89 kB / 429.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.01097, allocations: 463.4 kB / 430.1 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.01137, allocations: 123 kB / 430.2 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.01147, allocations: 31.81 kB / 430.2 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.01149, allocations: 4 kB / 430.2 MB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.01152, allocations: 37.39 kB / 430.3 MB, free: 8.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.01153, allocations: 0 / 430.3 MB, free: 8.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008138/0.01234, allocations: 205 kB / 430.5 MB, free: 8.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.0124, allocations: 59.41 kB / 430.5 MB, free: 8.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.01295, allocations: 350.6 kB / 430.9 MB, free: 8.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01298, allocations: 29.7 kB / 430.9 MB, free: 8.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01313, allocations: 178.8 kB / 431.1 MB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.01319, allocations: 39.73 kB / 431.1 MB, free: 7.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.01326, allocations: 35.38 kB / 431.1 MB, free: 7.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002937/0.01355, allocations: 0.5118 MB / 431.7 MB, free: 7.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.01364, allocations: 23.98 kB / 431.7 MB, free: 7.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.0137, allocations: 24 kB / 431.7 MB, free: 7.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.01394, allocations: 99.53 kB / 431.8 MB, free: 7.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01394, allocations: 0 / 431.8 MB, free: 7.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003508/0.01429, allocations: 145.2 kB / 431.9 MB, free: 7.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01431, allocations: 4 kB / 431.9 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01431, allocations: 7.938 kB / 432 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.01461, allocations: 43.59 kB / 432 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.01469, allocations: 15.98 kB / 432 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.0168, allocations: 1.881 MB / 433.9 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01696, allocations: 16.02 kB / 433.9 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01697, allocations: 4 kB / 433.9 MB, free: 4.969 MB / 410.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.000257/0.01723, allocations: 189.3 kB / 434.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.01728, allocations: 19.91 kB / 434.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.01734, allocations: 25.45 kB / 434.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01734, allocations: 3.938 kB / 434.1 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01734, allocations: 0 / 434.1 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01734, allocations: 4 kB / 434.1 MB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.01767, allocations: 224.4 kB / 434.4 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01767, allocations: 0 / 434.4 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.01777, allocations: 15.98 kB / 434.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.01796, allocations: 39.73 kB / 434.4 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01797, allocations: 4 kB / 434.4 MB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.01967, allocations: 1.885 MB / 436.3 MB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.01967, allocations: 3.984 kB / 436.3 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.02019, allocations: 335.8 kB / 436.6 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.02026, allocations: 23.89 kB / 436.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.0203, allocations: 11.94 kB / 436.7 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.02047, allocations: 7.984 kB / 436.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.02052, allocations: 12.05 kB / 436.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.02053, allocations: 4 kB / 436.7 MB, free: 1.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003844/0.02092, allocations: 253.5 kB / 436.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02092, allocations: 0 / 436.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.0212, allocations: 39.95 kB / 437 MB, free: 1.688 MB / 410.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 0.0001555/0.02136, allocations: 95.25 kB / 437.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.02191, allocations: 262.9 kB / 437.3 MB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.02191, allocations: 0 / 437.3 MB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.02225, allocations: 237.4 kB / 437.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.02262, allocations: 28.66 kB / 437.6 MB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.02342, allocations: 351.2 kB / 437.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.02357, allocations: 128.2 kB / 438.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.615e-05/0.02366, allocations: 21.11 kB / 438.1 MB, free: 500 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.02371, allocations: 16.5 kB / 438.1 MB, free: 484 kB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02371, allocations: 4 kB / 438.1 MB, free: 480 kB / 410.7 MB Notification: Performance of Templates: time 0.007355/0.03107, allocations: 2.527 MB / 440.6 MB, free: 13.97 MB / 426.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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 240] 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.295701066032052]