Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.0008717/0.0008717, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.001192/0.001192, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8861/0.8861, allocations: 158.6 MB / 185 MB, free: 3.047 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.4658/0.4658, allocations: 90.27 MB / 327.5 MB, free: 15.01 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.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.4923 GB, free: 21.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.767e-05, allocations: 5.938 kB / 0.4923 GB, free: 21.53 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004114/0.004142, allocations: 2.062 MB / 0.4943 GB, free: 20.12 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005597, allocations: 0.5934 MB / 0.4949 GB, free: 19.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.005811, allocations: 6.688 kB / 0.4949 GB, free: 19.71 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.005992, allocations: 29.78 kB / 0.4949 GB, free: 19.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.006138, allocations: 35.92 kB / 0.4949 GB, free: 19.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.006368, allocations: 72.34 kB / 0.495 GB, free: 19.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.006709, allocations: 225.4 kB / 0.4952 GB, free: 19.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.00696, allocations: 71.11 kB / 0.4953 GB, free: 19.45 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.007098, allocations: 78.06 kB / 0.4954 GB, free: 19.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.007246, allocations: 63.98 kB / 0.4954 GB, free: 19.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.007306, allocations: 29.72 kB / 0.4955 GB, free: 19.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.007341, allocations: 21.5 kB / 0.4955 GB, free: 19.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.00739, allocations: 45.75 kB / 0.4955 GB, free: 19.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.007471, allocations: 65.84 kB / 0.4956 GB, free: 19.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.007908, allocations: 259 kB / 0.4958 GB, free: 19.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.007914, allocations: 1.062 kB / 0.4958 GB, free: 19.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.007918, allocations: 0.7031 kB / 0.4958 GB, free: 19.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.007929, allocations: 0 / 0.4958 GB, free: 19.2 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008137/0.008743, allocations: 454.7 kB / 0.4963 GB, free: 18.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.008798, allocations: 8.25 kB / 0.4963 GB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.008856, allocations: 49.11 kB / 0.4963 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.008922, allocations: 29.42 kB / 0.4964 GB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.009309, allocations: 204 kB / 0.4965 GB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.009333, allocations: 17 kB / 0.4966 GB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.009373, allocations: 19 kB / 0.4966 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.00973, allocations: 196 kB / 0.4968 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.009743, allocations: 0.8438 kB / 0.4968 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.009763, allocations: 13.53 kB / 0.4968 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.009775, allocations: 5.75 kB / 0.4968 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.01003, allocations: 108.3 kB / 0.4969 GB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01103, allocations: 0.676 MB / 0.4976 GB, free: 17.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.01139, allocations: 140.3 kB / 0.4977 GB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.01149, allocations: 47.66 kB / 0.4977 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.01151, allocations: 3.219 kB / 0.4977 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.01153, allocations: 35.66 kB / 0.4978 GB, free: 17.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.01153, allocations: 1.094 kB / 0.4978 GB, free: 17.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004397/0.01197, allocations: 185.2 kB / 0.4979 GB, free: 17.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.012, allocations: 53.91 kB / 0.498 GB, free: 17.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.01224, allocations: 229.4 kB / 0.4982 GB, free: 17.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01226, allocations: 31.05 kB / 0.4982 GB, free: 17.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.01235, allocations: 144.2 kB / 0.4984 GB, free: 17.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.01239, allocations: 51.94 kB / 0.4984 GB, free: 17.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.01246, allocations: 30.3 kB / 0.4985 GB, free: 17.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.01253, allocations: 338.2 kB / 0.4988 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.01263, allocations: 42.33 kB / 0.4988 GB, free: 16.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01274, allocations: 66.91 kB / 0.4989 GB, free: 16.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.01338, allocations: 231.4 kB / 0.4991 GB, free: 16.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.01338, allocations: 1.25 kB / 0.4991 GB, free: 16.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003102/0.01369, allocations: 163.9 kB / 0.4993 GB, free: 16.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.01372, allocations: 4.281 kB / 0.4993 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01373, allocations: 5.828 kB / 0.4993 GB, free: 16.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.01375, allocations: 5.219 kB / 0.4993 GB, free: 16.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01387, allocations: 29.48 kB / 0.4993 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.01388, allocations: 1.281 kB / 0.4993 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.01396, allocations: 22.11 kB / 0.4993 GB, free: 16.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01398, allocations: 4.234 kB / 0.4993 GB, free: 16.58 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.01418, allocations: 136.3 kB / 0.4995 GB, free: 16.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.01423, allocations: 21.94 kB / 0.4995 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.01428, allocations: 24.98 kB / 0.4995 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01429, allocations: 2.344 kB / 0.4995 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.01429, allocations: 4 kB / 0.4995 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.0143, allocations: 1.812 kB / 0.4995 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.01461, allocations: 238.9 kB / 0.4997 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01461, allocations: 0 / 0.4997 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01474, allocations: 29.53 kB / 0.4998 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01475, allocations: 1.188 kB / 0.4998 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01476, allocations: 0.5625 kB / 0.4998 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01476, allocations: 1.062 kB / 0.4998 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01477, allocations: 1.797 kB / 0.4998 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.01518, allocations: 315 kB / 0.5001 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.01522, allocations: 22.98 kB / 0.5001 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.01525, allocations: 5.344 kB / 0.5001 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.01535, allocations: 4.141 kB / 0.5001 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.0154, allocations: 7.719 kB / 0.5001 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01541, allocations: 2.625 kB / 0.5001 GB, free: 15.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.01556, allocations: 169.2 kB / 0.5003 GB, free: 15.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01556, allocations: 0 / 0.5003 GB, free: 15.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.0159, allocations: 37.42 kB / 0.5003 GB, free: 15.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005928/0.01649, allocations: 0.8366 MB / 0.5011 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.01678, allocations: 108 kB / 0.5012 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01678, allocations: 3.938 kB / 0.5012 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01688, allocations: 51.67 kB / 0.5013 GB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.0173, allocations: 24.47 kB / 0.5013 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.0201, allocations: 2.257 MB / 0.5035 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.02023, allocations: 125.1 kB / 0.5036 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.02033, allocations: 17.06 kB / 0.5037 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02044, allocations: 62.03 kB / 0.5037 GB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02044, allocations: 0.9062 kB / 0.5037 GB, free: 13.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.04499, allocations: 4.452 MB / 0.5081 GB, free: 12.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.712, allocations: 5.062 kB / 0.5081 GB, free: 12.07 MB / 442.7 MB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reducedOrderSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat. Warning: Get data of variable reducedOrderSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.255751645192504]