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.001423/0.001423, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001375/0.001375, allocations: 169 kB / 23.82 MB, free: 0.75 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.8242/0.8242, allocations: 158.6 MB / 185.7 MB, free: 2.48 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.4466/0.4466, allocations: 90.57 MB / 328.6 MB, free: 14.65 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.843e-06/1.843e-06, allocations: 0 / 425.7 MB, free: 13.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.704e-05, allocations: 6.25 kB / 425.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002951/0.002978, allocations: 1.937 MB / 427.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.004014, allocations: 0.601 MB / 428.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.004105, allocations: 4 kB / 428.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.004459, allocations: 59.56 kB / 428.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.004698, allocations: 79.67 kB / 428.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.004936, allocations: 99.77 kB / 428.4 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.005216, allocations: 247.4 kB / 428.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.005335, allocations: 29.78 kB / 428.7 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.005507, allocations: 99.72 kB / 428.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.005691, allocations: 123.7 kB / 428.9 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.005736, allocations: 20 kB / 428.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.327e-05/0.005769, allocations: 20 kB / 429 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.00586, allocations: 63.77 kB / 429 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.005929, allocations: 59.77 kB / 429.1 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.00612, allocations: 135.5 kB / 429.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006122, allocations: 0 / 429.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006123, allocations: 4 kB / 429.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006127, allocations: 0 / 429.2 MB, free: 10.4 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.0006925/0.00682, allocations: 0.5463 MB / 429.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.006856, allocations: 8.031 kB / 429.8 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.006911, allocations: 24.84 kB / 429.8 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.007189, allocations: 246 kB / 430 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.0072, allocations: 4.375 kB / 430 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.007226, allocations: 8.375 kB / 430.1 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.007347, allocations: 66.22 kB / 430.1 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.007355, allocations: 192 / 430.1 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007367, allocations: 8.375 kB / 430.1 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.007375, allocations: 3.938 kB / 430.1 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.007466, allocations: 39.41 kB / 430.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.007979, allocations: 431.4 kB / 430.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.008207, allocations: 91.14 kB / 430.7 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.008249, allocations: 27.67 kB / 430.7 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.008259, allocations: 0 / 430.7 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.008278, allocations: 37.39 kB / 430.7 MB, free: 8.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.008279, allocations: 0 / 430.7 MB, free: 8.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004126/0.008692, allocations: 161.1 kB / 430.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.00872, allocations: 59.39 kB / 431 MB, free: 8.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.00893, allocations: 290.7 kB / 431.2 MB, free: 8.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.008942, allocations: 29.64 kB / 431.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.009014, allocations: 178.8 kB / 431.4 MB, free: 7.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.009047, allocations: 31.69 kB / 431.5 MB, free: 7.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.009084, allocations: 31.38 kB / 431.5 MB, free: 7.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009199, allocations: 0.504 MB / 432 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.009228, allocations: 11.94 kB / 432 MB, free: 7.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.009258, allocations: 15.98 kB / 432 MB, free: 7.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.009362, allocations: 55.67 kB / 432.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009364, allocations: 0 / 432.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001723/0.009536, allocations: 121.2 kB / 432.2 MB, free: 7.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.009551, allocations: 7.984 kB / 432.2 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.009557, allocations: 3.938 kB / 432.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.009743, allocations: 39.64 kB / 432.3 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.009793, allocations: 19.88 kB / 432.3 MB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009699/0.01076, allocations: 1.791 MB / 434.1 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.01083, allocations: 4 kB / 434.1 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.01084, allocations: 7.984 kB / 434.1 MB, free: 5.195 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.0001581/0.011, allocations: 185.4 kB / 434.3 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01103, allocations: 19.91 kB / 434.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.01106, allocations: 25.45 kB / 434.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01106, allocations: 0 / 434.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01106, allocations: 0 / 434.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01107, allocations: 0 / 434.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01123, allocations: 200.4 kB / 434.5 MB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01123, allocations: 4 kB / 434.5 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.01128, allocations: 12 kB / 434.5 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.01138, allocations: 39.77 kB / 434.6 MB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.0114, allocations: 4 kB / 434.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007592/0.01216, allocations: 1.791 MB / 436.4 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01216, allocations: 4.031 kB / 436.4 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.01241, allocations: 295.7 kB / 436.6 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.01244, allocations: 19.89 kB / 436.7 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.01246, allocations: 11.94 kB / 436.7 MB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.01253, allocations: 7.984 kB / 436.7 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01257, allocations: 7.984 kB / 436.7 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01258, allocations: 8 kB / 436.7 MB, free: 2.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01272, allocations: 205.5 kB / 436.9 MB, free: 2.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 4.031 kB / 436.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000197/0.01292, allocations: 39.89 kB / 436.9 MB, free: 2.133 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 9.094e-05/0.01301, allocations: 103.2 kB / 437 MB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.01332, allocations: 231.1 kB / 437.3 MB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01332, allocations: 0 / 437.3 MB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.01346, allocations: 217.4 kB / 437.5 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01369, allocations: 36.69 kB / 437.5 MB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.01418, allocations: 351.1 kB / 437.9 MB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.01424, allocations: 83.81 kB / 437.9 MB, free: 1.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.01429, allocations: 17.12 kB / 438 MB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.01433, allocations: 20.5 kB / 438 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01433, allocations: 0 / 438 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of Templates: time 0.004254/0.01859, allocations: 2.594 MB / 440.6 MB, free: 14.43 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","",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.134783719200641]