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.001647/0.001647, allocations: 85.91 kB / 20.22 MB, free: 4.32 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.001904/0.001904, allocations: 165.3 kB / 23.54 MB, free: 1.008 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.387/1.387, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.6588/0.6588, allocations: 90.64 MB / 328.3 MB, free: 14.57 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.643e-06/1.643e-06, allocations: 0 / 425 MB, free: 14.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.984e-05, allocations: 5.547 kB / 425 MB, free: 14.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003478/0.003507, allocations: 1.906 MB / 426.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004709, allocations: 0.5776 MB / 427.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.00479, allocations: 4 kB / 427.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.005127, allocations: 51.64 kB / 427.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.005385, allocations: 91.64 kB / 427.6 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.005649, allocations: 95.72 kB / 427.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.005983, allocations: 247.4 kB / 427.9 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.006107, allocations: 29.8 kB / 428 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.006263, allocations: 95.72 kB / 428.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.006478, allocations: 123.7 kB / 428.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.006527, allocations: 20 kB / 428.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.006563, allocations: 24 kB / 428.2 MB, free: 11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.00668, allocations: 67.75 kB / 428.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.006767, allocations: 51.84 kB / 428.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.007098, allocations: 255.2 kB / 428.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007101, allocations: 0 / 428.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007102, allocations: 0 / 428.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.007107, allocations: 0 / 428.6 MB, free: 10.63 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.001329/0.008437, allocations: 493.2 kB / 429.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.008473, allocations: 8.031 kB / 429.1 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.008559, allocations: 28.8 kB / 429.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.009257, allocations: 278.5 kB / 429.4 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.009271, allocations: 4.375 kB / 429.4 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.009306, allocations: 8.375 kB / 429.4 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.009549, allocations: 110.1 kB / 429.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.009558, allocations: 192 / 429.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.009584, allocations: 12.36 kB / 429.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.009591, allocations: 3.938 kB / 429.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.00984, allocations: 103.9 kB / 429.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.01072, allocations: 420.2 kB / 430 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.01118, allocations: 158.7 kB / 430.2 MB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.01131, allocations: 48.84 kB / 430.2 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.01132, allocations: 4 kB / 430.2 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.01135, allocations: 34.5 kB / 430.3 MB, free: 8.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.01136, allocations: 0 / 430.3 MB, free: 8.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009125/0.01227, allocations: 270.2 kB / 430.5 MB, free: 8.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.01232, allocations: 51.41 kB / 430.6 MB, free: 8.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.01302, allocations: 332 kB / 430.9 MB, free: 8.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01305, allocations: 25.7 kB / 430.9 MB, free: 8.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01315, allocations: 128 kB / 431.1 MB, free: 8.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.01321, allocations: 35.69 kB / 431.1 MB, free: 7.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01327, allocations: 25.72 kB / 431.1 MB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.01347, allocations: 334.8 kB / 431.5 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01357, allocations: 39.98 kB / 431.5 MB, free: 7.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.01367, allocations: 47.97 kB / 431.5 MB, free: 7.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.01459, allocations: 268.6 kB / 431.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01459, allocations: 0 / 431.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000465/0.01506, allocations: 210.3 kB / 432 MB, free: 7.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01508, allocations: 7.281 kB / 432 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01508, allocations: 7.875 kB / 432 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.01535, allocations: 52.81 kB / 432.1 MB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01545, allocations: 15.98 kB / 432.1 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.0171, allocations: 1.429 MB / 433.5 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.01737, allocations: 27.98 kB / 433.5 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.01739, allocations: 0 / 433.5 MB, free: 5.398 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.000501/0.01789, allocations: 150.8 kB / 433.7 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.01796, allocations: 27.92 kB / 433.7 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.01802, allocations: 25.45 kB / 433.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01802, allocations: 0 / 433.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01802, allocations: 0 / 433.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01802, allocations: 3.938 kB / 433.7 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.01834, allocations: 197.2 kB / 433.9 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01834, allocations: 0 / 433.9 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01844, allocations: 8 kB / 434 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.01867, allocations: 56.81 kB / 434 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01868, allocations: 0 / 434 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.02026, allocations: 1.425 MB / 435.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02026, allocations: 0 / 435.4 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.02092, allocations: 360.5 kB / 435.8 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.021, allocations: 32.06 kB / 435.8 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.02103, allocations: 11.92 kB / 435.8 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.02131, allocations: 23.97 kB / 435.8 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.02137, allocations: 3.984 kB / 435.9 MB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.02138, allocations: 4 kB / 435.9 MB, free: 2.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005741/0.02195, allocations: 261.4 kB / 436.1 MB, free: 2.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02195, allocations: 0 / 436.1 MB, free: 2.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.02228, allocations: 39.95 kB / 436.2 MB, free: 2.625 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.0001594/0.02244, allocations: 102.2 kB / 436.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.02302, allocations: 235.9 kB / 436.5 MB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.02303, allocations: 4 kB / 436.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.02335, allocations: 186.5 kB / 436.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.02373, allocations: 32.7 kB / 436.7 MB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.02462, allocations: 389.3 kB / 437.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.02478, allocations: 132.1 kB / 437.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.02488, allocations: 21.12 kB / 437.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.02494, allocations: 16.5 kB / 437.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02494, allocations: 0 / 437.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of Templates: time 0.007187/0.03213, allocations: 2.505 MB / 439.7 MB, free: 14.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=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.23872988007497]