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.001487/0.001487, allocations: 76.52 kB / 19.95 MB, free: 4.598 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.001212/0.001212, allocations: 173.2 kB / 23.24 MB, free: 1.312 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.9787/0.9787, allocations: 158.6 MB / 185 MB, free: 3.051 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.4455/0.4455, allocations: 90.27 MB / 327.5 MB, free: 15.04 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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.4923 GB, free: 21.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.374e-05, allocations: 3.312 kB / 0.4923 GB, free: 21.54 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002502/0.002526, allocations: 1.88 MB / 0.4941 GB, free: 20.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.003472, allocations: 0.5764 MB / 0.4947 GB, free: 19.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003575, allocations: 1.375 kB / 0.4947 GB, free: 19.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.003929, allocations: 50.56 kB / 0.4947 GB, free: 19.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.004149, allocations: 98.11 kB / 0.4948 GB, free: 19.78 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.004371, allocations: 91.45 kB / 0.4949 GB, free: 19.74 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.004621, allocations: 244 kB / 0.4951 GB, free: 19.63 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.004761, allocations: 32.3 kB / 0.4952 GB, free: 19.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.00489, allocations: 98.55 kB / 0.4953 GB, free: 19.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.00507, allocations: 117.5 kB / 0.4954 GB, free: 19.53 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.00512, allocations: 20.28 kB / 0.4954 GB, free: 19.53 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.089e-05/0.005151, allocations: 22.38 kB / 0.4954 GB, free: 19.53 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.005251, allocations: 76.44 kB / 0.4955 GB, free: 19.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.005317, allocations: 52.55 kB / 0.4955 GB, free: 19.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.005625, allocations: 253.1 kB / 0.4958 GB, free: 19.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.00563, allocations: 1.219 kB / 0.4958 GB, free: 19.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005632, allocations: 0 / 0.4958 GB, free: 19.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.005639, allocations: 0.5625 kB / 0.4958 GB, free: 19.36 MB / 442.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.0008757/0.006515, allocations: 496.5 kB / 0.4963 GB, free: 19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.006564, allocations: 9.266 kB / 0.4963 GB, free: 19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.006599, allocations: 39.2 kB / 0.4963 GB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.006643, allocations: 22.83 kB / 0.4963 GB, free: 18.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.007053, allocations: 278.2 kB / 0.4966 GB, free: 18.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.007065, allocations: 6.844 kB / 0.4966 GB, free: 18.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.007091, allocations: 6 kB / 0.4966 GB, free: 18.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.007264, allocations: 110.4 kB / 0.4967 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.007273, allocations: 0.8438 kB / 0.4967 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.007285, allocations: 9.406 kB / 0.4967 GB, free: 18.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007291, allocations: 2.438 kB / 0.4967 GB, free: 18.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.007456, allocations: 105.6 kB / 0.4968 GB, free: 18.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.008055, allocations: 437.1 kB / 0.4972 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.008377, allocations: 164.9 kB / 0.4974 GB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.008448, allocations: 59.34 kB / 0.4975 GB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.008463, allocations: 1.344 kB / 0.4975 GB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.008477, allocations: 36.62 kB / 0.4975 GB, free: 18.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.00848, allocations: 4 kB / 0.4975 GB, free: 18.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005586/0.009038, allocations: 263.3 kB / 0.4978 GB, free: 18.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.009064, allocations: 58.45 kB / 0.4978 GB, free: 17.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.009468, allocations: 324.8 kB / 0.4981 GB, free: 17.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.009479, allocations: 25.7 kB / 0.4981 GB, free: 17.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.009534, allocations: 128.1 kB / 0.4983 GB, free: 17.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.009577, allocations: 34.59 kB / 0.4983 GB, free: 17.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.009615, allocations: 25.69 kB / 0.4983 GB, free: 17.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.00966, allocations: 329.8 kB / 0.4986 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.009727, allocations: 45.53 kB / 0.4987 GB, free: 17.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.009791, allocations: 46.78 kB / 0.4987 GB, free: 17.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.0103, allocations: 273 kB / 0.499 GB, free: 17.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0103, allocations: 0 / 0.499 GB, free: 17.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.01057, allocations: 211.2 kB / 0.4992 GB, free: 17.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01058, allocations: 5.062 kB / 0.4992 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01059, allocations: 0 / 0.4992 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.01074, allocations: 46.31 kB / 0.4992 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.01081, allocations: 13.62 kB / 0.4992 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/0.0116, allocations: 1.442 MB / 0.5007 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01172, allocations: 36.91 kB / 0.5007 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.01174, allocations: 6.297 kB / 0.5007 GB, free: 15.68 MB / 442.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.0001811/0.01192, allocations: 161.8 kB / 0.5009 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.01195, allocations: 16.28 kB / 0.5009 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.01197, allocations: 29.83 kB / 0.5009 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01197, allocations: 1.344 kB / 0.5009 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.01198, allocations: 0 / 0.5009 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01198, allocations: 0.75 kB / 0.5009 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01217, allocations: 222.5 kB / 0.5011 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01218, allocations: 0.6094 kB / 0.5011 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.01224, allocations: 12 kB / 0.5011 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.01234, allocations: 44.66 kB / 0.5012 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01235, allocations: 2.188 kB / 0.5012 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006558/0.01301, allocations: 1.442 MB / 0.5026 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01301, allocations: 0 / 0.5026 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.01335, allocations: 349 kB / 0.5029 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.01339, allocations: 30.77 kB / 0.5029 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.01341, allocations: 3.906 kB / 0.5029 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01353, allocations: 28.02 kB / 0.503 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01357, allocations: 18.64 kB / 0.503 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01358, allocations: 2.719 kB / 0.503 GB, free: 13.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002882/0.01387, allocations: 250.6 kB / 0.5032 GB, free: 13.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01387, allocations: 1.312 kB / 0.5032 GB, free: 13.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01408, allocations: 37.47 kB / 0.5033 GB, free: 13.56 MB / 442.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.0004919/0.01457, allocations: 0.8851 MB / 0.5041 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.01494, allocations: 236.7 kB / 0.5044 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01495, allocations: 0 / 0.5044 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.01509, allocations: 187.2 kB / 0.5045 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01537, allocations: 33.86 kB / 0.5046 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.018, allocations: 2.498 MB / 0.507 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.01813, allocations: 131 kB / 0.5071 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.816e-05/0.01823, allocations: 22.11 kB / 0.5071 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.01831, allocations: 60.28 kB / 0.5072 GB, free: 10.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.894e-06/0.01832, allocations: 0 / 0.5072 GB, free: 10.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.04388, allocations: 5.289 MB / 0.5124 GB, free: 9.008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.837, allocations: 1.375 kB / 0.5124 GB, free: 9.008 MB / 442.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] 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: 10.44480254035443]