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.0009535/0.0009535, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001601/0.001601, allocations: 169 kB / 24.17 MB, free: 332 kB / 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.8441/0.8441, allocations: 158.6 MB / 186 MB, free: 2.77 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.4544/0.4544, allocations: 90.87 MB / 329.2 MB, free: 14.21 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.373e-06/1.373e-06, allocations: 0 / 377.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.44e-05, allocations: 2.312 kB / 377.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003017/0.003041, allocations: 1.927 MB / 379.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.00414, allocations: 0.6201 MB / 380 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.004227, allocations: 0 / 380 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.004514, allocations: 47.64 kB / 380 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.004741, allocations: 91.66 kB / 380.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.004995, allocations: 103.7 kB / 380.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.005274, allocations: 243.4 kB / 380.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.005394, allocations: 26.44 kB / 380.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.005551, allocations: 103.7 kB / 380.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.005744, allocations: 119.7 kB / 380.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.00579, allocations: 20 kB / 380.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.005823, allocations: 24 kB / 380.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.005916, allocations: 59.83 kB / 380.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.005983, allocations: 55.83 kB / 380.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.006189, allocations: 143.5 kB / 381 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.006194, allocations: 4 kB / 381 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006195, allocations: 0 / 381 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.006199, allocations: 3.938 kB / 381 MB, free: 10.86 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.0007047/0.006904, allocations: 401.1 kB / 381.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.006939, allocations: 8.031 kB / 381.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.006992, allocations: 16.92 kB / 381.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.007311, allocations: 203.2 kB / 381.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.007329, allocations: 12.36 kB / 381.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.007358, allocations: 8.359 kB / 381.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.00751, allocations: 70.3 kB / 381.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.00752, allocations: 4.125 kB / 381.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007532, allocations: 8.375 kB / 381.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.007541, allocations: 7.938 kB / 381.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.007627, allocations: 20.77 kB / 381.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.008164, allocations: 281.5 kB / 382 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.008434, allocations: 130.9 kB / 382.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.008476, allocations: 16.86 kB / 382.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.008486, allocations: 0 / 382.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.008514, allocations: 34.56 kB / 382.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.008515, allocations: 4 kB / 382.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004657/0.008981, allocations: 133.2 kB / 382.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.009015, allocations: 55.34 kB / 382.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.009218, allocations: 211.4 kB / 382.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.009232, allocations: 25.7 kB / 382.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.009286, allocations: 116 kB / 382.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.009328, allocations: 39.64 kB / 382.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.009376, allocations: 29.69 kB / 382.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.009474, allocations: 330.7 kB / 383.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.009507, allocations: 10.81 kB / 383.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.009536, allocations: 8 kB / 383.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.009646, allocations: 54.41 kB / 383.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.009649, allocations: 3.938 kB / 383.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001991/0.009848, allocations: 93.33 kB / 383.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.009866, allocations: 4 kB / 383.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.009871, allocations: 0 / 383.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.01005, allocations: 35.66 kB / 383.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.01012, allocations: 19.86 kB / 383.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009124/0.01103, allocations: 1.225 MB / 384.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.01111, allocations: 16.03 kB / 384.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.01112, allocations: 0 / 384.6 MB, free: 7.004 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.0001629/0.01129, allocations: 133.4 kB / 384.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.01133, allocations: 15.92 kB / 384.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.01137, allocations: 25.45 kB / 384.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01137, allocations: 4 kB / 384.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01137, allocations: 0 / 384.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01138, allocations: 4 kB / 384.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.01158, allocations: 129.8 kB / 384.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01158, allocations: 0 / 384.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.01165, allocations: 8 kB / 384.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.01179, allocations: 35.64 kB / 385 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01181, allocations: 0 / 385 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.01261, allocations: 1.235 MB / 386.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01261, allocations: 4 kB / 386.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.01289, allocations: 264.5 kB / 386.4 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.01294, allocations: 19.86 kB / 386.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01296, allocations: 4 kB / 386.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01306, allocations: 7.984 kB / 386.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.0131, allocations: 7.984 kB / 386.5 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.0131, allocations: 4.062 kB / 386.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.01322, allocations: 83.16 kB / 386.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 0 / 386.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.0135, allocations: 35.94 kB / 386.6 MB, free: 4.852 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 0.00012/0.01362, allocations: 76.42 kB / 386.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.01392, allocations: 176.7 kB / 386.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.01392, allocations: 8 kB / 386.9 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.01408, allocations: 159.3 kB / 387 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01434, allocations: 31.3 kB / 387 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.01496, allocations: 340.3 kB / 387.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.01503, allocations: 87.81 kB / 387.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.01509, allocations: 17.14 kB / 387.5 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.01518, allocations: 63.38 kB / 387.5 MB, free: 3.824 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01519, allocations: 0 / 387.5 MB, free: 3.824 MB / 362.7 MB Notification: Performance of Templates: time 0.005792/0.02098, allocations: 2.633 MB / 390.2 MB, free: 1.215 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 -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.0626417081803083]