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.00112/0.00112, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.00264, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002385, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9191/0.9191, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1437/1.063, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4749/0.4749, allocations: 100.5 MB / 321.8 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07236/0.5473, allocations: 35.7 MB / 357.5 MB, free: 1.309 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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 2.304e-06/2.304e-06, allocations: 0 / 358.8 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.137e-05, allocations: 2.312 kB / 358.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002134/0.002146, allocations: 1.974 MB / 360.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.002862, allocations: 0.6118 MB / 361.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.002929, allocations: 8 kB / 361.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.003142, allocations: 55.62 kB / 361.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.0033, allocations: 83.66 kB / 361.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.003477, allocations: 99.72 kB / 361.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.003682, allocations: 239.4 kB / 361.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003797, allocations: 30.45 kB / 361.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.004004, allocations: 199 kB / 362.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.004153, allocations: 115.7 kB / 362.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.004191, allocations: 24 kB / 362.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.004223, allocations: 23.94 kB / 362.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.004298, allocations: 55.84 kB / 362.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.004354, allocations: 39.88 kB / 362.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004513, allocations: 123.6 kB / 362.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.004529, allocations: 4 kB / 362.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004529, allocations: 0 / 362.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.004543, allocations: 0 / 362.4 MB, free: 12.34 MB / 362.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.0006212/0.005165, allocations: 428 kB / 362.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.005208, allocations: 12.03 kB / 362.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.00525, allocations: 16.92 kB / 362.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.005498, allocations: 203.2 kB / 363.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.005509, allocations: 8.375 kB / 363.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.005533, allocations: 16.31 kB / 363.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.005649, allocations: 76.88 kB / 363.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.005656, allocations: 192 / 363.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005666, allocations: 4.375 kB / 363.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.005674, allocations: 7.938 kB / 363.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.005735, allocations: 19.98 kB / 363.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.006128, allocations: 273.7 kB / 363.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.006336, allocations: 130.9 kB / 363.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.006368, allocations: 16.86 kB / 363.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.006378, allocations: 4 kB / 363.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.006398, allocations: 30.56 kB / 363.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.0064, allocations: 0 / 363.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003481/0.006748, allocations: 141.2 kB / 363.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.006776, allocations: 51.41 kB / 363.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.006927, allocations: 215.8 kB / 364.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.00694, allocations: 25.7 kB / 364.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.006984, allocations: 112.5 kB / 364.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.007021, allocations: 39.67 kB / 364.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.007056, allocations: 25.66 kB / 364.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.007154, allocations: 334.7 kB / 364.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.007176, allocations: 14.81 kB / 364.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.007191, allocations: 4 kB / 364.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.007274, allocations: 62.53 kB / 364.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.007276, allocations: 0 / 364.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000135/0.007411, allocations: 89.27 kB / 364.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007423, allocations: 4 kB / 364.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.007428, allocations: 0 / 364.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.007581, allocations: 31.66 kB / 364.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.007637, allocations: 31.86 kB / 364.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007111/0.008348, allocations: 1.234 MB / 366.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.008402, allocations: 7.938 kB / 366.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.008408, allocations: 0 / 366.1 MB, free: 8.453 MB / 362.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.0001493/0.008558, allocations: 144 kB / 366.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.008581, allocations: 11.94 kB / 366.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.008608, allocations: 29.45 kB / 366.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-07/0.008609, allocations: 0 / 366.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008612, allocations: 0 / 366.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008615, allocations: 0 / 366.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.008741, allocations: 125.8 kB / 366.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008742, allocations: 0 / 366.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.008793, allocations: 15.98 kB / 366.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.008818, allocations: 15.91 kB / 366.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.008924, allocations: 47.52 kB / 366.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008934, allocations: 0 / 366.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006099/0.009544, allocations: 1.235 MB / 367.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009544, allocations: 3.938 kB / 367.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.009718, allocations: 264.6 kB / 367.9 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009732, allocations: 0 / 367.9 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.009795, allocations: 4 kB / 367.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.009823, allocations: 11.98 kB / 368 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.009828, allocations: 0 / 368 MB, free: 6.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.0099, allocations: 82.02 kB / 368 MB, free: 6.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0099, allocations: 0 / 368 MB, free: 6.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.01005, allocations: 35.94 kB / 368.1 MB, free: 6.293 MB / 362.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 6.545e-05/0.01011, allocations: 88.39 kB / 368.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.01031, allocations: 164.8 kB / 368.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.01031, allocations: 4 kB / 368.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.01041, allocations: 155.9 kB / 368.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.01058, allocations: 55.2 kB / 368.5 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.01115, allocations: 336.5 kB / 368.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.0112, allocations: 79.81 kB / 368.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.01123, allocations: 21.08 kB / 369 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.0113, allocations: 67.36 kB / 369 MB, free: 5.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0113, allocations: 0 / 369 MB, free: 5.262 MB / 362.7 MB Notification: Performance of Templates: time 0.003848/0.01515, allocations: 2.656 MB / 371.7 MB, free: 2.621 MB / 362.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1778299156576395]