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.001771/0.001771, allocations: 117.2 kB / 17.86 MB, free: 5.078 MB / 14.72 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.00222/0.00222, allocations: 202.7 kB / 20.81 MB, free: 2.141 MB / 14.72 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.467/1.467, allocations: 207.6 MB / 231.2 MB, free: 4.141 MB / 174.1 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.6064/0.6064, allocations: 113.9 MB / 397 MB, free: 3.863 MB / 318.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 67.91 kB / 0.5543 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1553, allocations: 78.48 MB / 0.6309 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003155/0.1585, allocations: 1.865 MB / 0.6327 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1595, allocations: 0.5777 MB / 0.6333 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1596, allocations: 4 kB / 0.6333 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.1599, allocations: 47.7 kB / 0.6333 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1601, allocations: 59.69 kB / 0.6334 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.1602, allocations: 59.92 kB / 0.6335 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1605, allocations: 271.5 kB / 0.6337 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1607, allocations: 33.53 kB / 0.6338 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1608, allocations: 107.7 kB / 0.6339 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.161, allocations: 115.5 kB / 0.634 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.161, allocations: 16 kB / 0.634 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.1611, allocations: 16 kB / 0.634 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.1612, allocations: 55.83 kB / 0.634 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.1612, allocations: 71.59 kB / 0.6341 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1615, allocations: 199.2 kB / 0.6343 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1615, allocations: 0 / 0.6343 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1615, allocations: 0 / 0.6343 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1615, allocations: 0 / 0.6343 GB, free: 0.9883 MB / 494.1 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.001211/0.1627, allocations: 0.5452 MB / 0.6348 GB, free: 404 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1627, allocations: 15.89 kB / 0.6349 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.1628, allocations: 4.188 kB / 0.6349 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1628, allocations: 34.75 kB / 0.6349 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1628, allocations: 20.83 kB / 0.6349 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2529/0.4157, allocations: 289.7 kB / 0.6352 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.4157, allocations: 9.156 kB / 0.6352 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.4158, allocations: 8.594 kB / 0.6352 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4161, allocations: 106.7 kB / 0.6353 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4161, allocations: 3.609 kB / 0.6353 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4161, allocations: 6.797 kB / 0.6353 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4161, allocations: 3.25 kB / 0.6353 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.4163, allocations: 108.5 kB / 0.6354 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.4171, allocations: 0.5167 MB / 0.6359 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.4175, allocations: 163 kB / 0.6361 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4176, allocations: 56.31 kB / 0.6361 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4177, allocations: 2.078 kB / 0.6361 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4177, allocations: 35.3 kB / 0.6362 GB, free: 11.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4177, allocations: 0 / 0.6362 GB, free: 11.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008847/0.4186, allocations: 339.6 kB / 0.6365 GB, free: 11.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.4186, allocations: 56.69 kB / 0.6365 GB, free: 11.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.4191, allocations: 277.5 kB / 0.6368 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4191, allocations: 30.14 kB / 0.6368 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.4192, allocations: 120.4 kB / 0.637 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.4192, allocations: 33.69 kB / 0.637 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.4193, allocations: 22.36 kB / 0.637 GB, free: 10.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.4193, allocations: 332.4 kB / 0.6373 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.4194, allocations: 46.38 kB / 0.6374 GB, free: 10.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.4195, allocations: 46.19 kB / 0.6374 GB, free: 10.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008297/0.4203, allocations: 271 kB / 0.6377 GB, free: 10.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4203, allocations: 0 / 0.6377 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003487/0.4207, allocations: 200.8 kB / 0.6379 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4207, allocations: 8.25 kB / 0.6379 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4207, allocations: 0.9688 kB / 0.6379 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.4209, allocations: 44.98 kB / 0.6379 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.421, allocations: 15.5 kB / 0.6379 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.422, allocations: 1.559 MB / 0.6395 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.4222, allocations: 29.39 kB / 0.6395 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4222, allocations: 2.469 kB / 0.6395 GB, free: 9.086 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.a_end * simplifiedSFR.inertia.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.a_end * simplifiedSFR.feedbackLoop.x_start[1] 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.0001786/0.4224, allocations: 156.3 kB / 0.6396 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.4224, allocations: 18.69 kB / 0.6397 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.4225, allocations: 24.05 kB / 0.6397 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4225, allocations: 1.125 kB / 0.6397 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4225, allocations: 5 kB / 0.6397 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4225, allocations: 1.859 kB / 0.6397 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.4227, allocations: 263.1 kB / 0.6399 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4227, allocations: 0.9062 kB / 0.6399 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.4228, allocations: 14.52 kB / 0.6399 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.423, allocations: 52.08 kB / 0.64 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.423, allocations: 1.719 kB / 0.64 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009528/0.4239, allocations: 1.556 MB / 0.6415 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4239, allocations: 0.9375 kB / 0.6415 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.4244, allocations: 350.8 kB / 0.6419 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.4245, allocations: 98.69 kB / 0.6419 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4245, allocations: 5.656 kB / 0.642 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4247, allocations: 24.66 kB / 0.642 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.4247, allocations: 10.81 kB / 0.642 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4248, allocations: 2.25 kB / 0.642 GB, free: 7.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003944/0.4251, allocations: 214.5 kB / 0.6422 GB, free: 6.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4251, allocations: 0.875 kB / 0.6422 GB, free: 6.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4254, allocations: 38.02 kB / 0.6422 GB, free: 6.918 MB / 494.1 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.0006552/0.4261, allocations: 0.8792 MB / 0.6431 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.4265, allocations: 246.3 kB / 0.6433 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4265, allocations: 0 / 0.6433 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.4268, allocations: 177.7 kB / 0.6435 GB, free: 5.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.427, allocations: 13.5 kB / 0.6435 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.4299, allocations: 2.337 MB / 0.6458 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.4301, allocations: 0.7319 MB / 0.6465 GB, free: 3.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.4301, allocations: 22.05 kB / 0.6465 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.4302, allocations: 52.38 kB / 0.6466 GB, free: 3.555 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4302, allocations: 0 / 0.6466 GB, free: 3.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4548, allocations: 3.901 MB / 0.6504 GB, free: 2.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.3, allocations: 21.34 kB / 0.6504 GB, free: 2.93 MB / 494.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins1/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: 14.840506651031319]