Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.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.001334/0.001334, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001261/0.001261, allocations: 216.1 kB / 22.25 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.109/1.109, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04765/0.04765, allocations: 14.03 MB / 326.5 MB, free: 4.621 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsNonAnalytical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsNonAnalytical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 69.17 kB / 453.5 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1266, allocations: 55.95 MB / 0.4975 GB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical): time 0.00231/0.1289, allocations: 0.526 MB / 0.498 GB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04322/0.1721, allocations: 51.51 MB / 0.5483 GB, free: 5.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.1722, allocations: 0 / 0.5483 GB, free: 5.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.1723, allocations: 3.938 kB / 0.5483 GB, free: 5.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.1723, allocations: 23.98 kB / 0.5483 GB, free: 5.461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.1754, allocations: 1.232 MB / 0.5495 GB, free: 4.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1755, allocations: 47.95 kB / 0.5496 GB, free: 4.184 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.1756, allocations: 11.92 kB / 0.5496 GB, free: 4.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.1756, allocations: 47.91 kB / 0.5496 GB, free: 4.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1758, allocations: 35.89 kB / 0.5496 GB, free: 4.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.1758, allocations: 4 kB / 0.5496 GB, free: 4.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1772, allocations: 1.577 MB / 0.5512 GB, free: 2.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.664e-05/0.1773, allocations: 107.6 kB / 0.5513 GB, free: 2.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.1773, allocations: 87.11 kB / 0.5514 GB, free: 2.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.1781, allocations: 0.7318 MB / 0.5521 GB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.1781, allocations: 4 kB / 0.5521 GB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1781, allocations: 0 / 0.5521 GB, free: 1.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1781, allocations: 3.938 kB / 0.5521 GB, free: 1.574 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.3226/0.5006, allocations: 3.855 MB / 0.5559 GB, free: 60.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.5007, allocations: 8.938 kB / 0.5559 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.5008, allocations: 39.11 kB / 0.5559 GB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5009, allocations: 51.7 kB / 0.556 GB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.5011, allocations: 242.8 kB / 0.5562 GB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5011, allocations: 2.125 kB / 0.5562 GB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.5011, allocations: 5.078 kB / 0.5562 GB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.5015, allocations: 235.8 kB / 0.5564 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5016, allocations: 5.734 kB / 0.5564 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.5016, allocations: 2.375 kB / 0.5564 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5016, allocations: 0 / 0.5564 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.5018, allocations: 149.4 kB / 0.5566 GB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.5021, allocations: 262.6 kB / 0.5568 GB, free: 59.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5023, allocations: 161.5 kB / 0.557 GB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.5025, allocations: 151.3 kB / 0.5571 GB, free: 59.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.5025, allocations: 1.125 kB / 0.5571 GB, free: 59.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.5026, allocations: 76.91 kB / 0.5572 GB, free: 59.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.5026, allocations: 0 / 0.5572 GB, free: 59.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001038/0.5036, allocations: 0.7103 MB / 0.5579 GB, free: 59.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.5037, allocations: 99.69 kB / 0.558 GB, free: 59.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.5043, allocations: 0.5783 MB / 0.5585 GB, free: 58.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5043, allocations: 30.77 kB / 0.5586 GB, free: 58.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.5043, allocations: 84.58 kB / 0.5587 GB, free: 58.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.5044, allocations: 26.62 kB / 0.5587 GB, free: 58.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.5045, allocations: 125 kB / 0.5588 GB, free: 58.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.5046, allocations: 314.8 kB / 0.5591 GB, free: 58.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5047, allocations: 141.9 kB / 0.5592 GB, free: 58.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.5049, allocations: 142.1 kB / 0.5594 GB, free: 58.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.5053, allocations: 308.2 kB / 0.5597 GB, free: 58.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5053, allocations: 1.75 kB / 0.5597 GB, free: 58.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006685/0.5059, allocations: 0.5112 MB / 0.5602 GB, free: 58.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.506, allocations: 61.22 kB / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.506, allocations: 7.5 kB / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.5061, allocations: 0 / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.5061, allocations: 1.734 kB / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.5061, allocations: 0 / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5062, allocations: 11.08 kB / 0.5602 GB, free: 58.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.5064, allocations: 157.7 kB / 0.5604 GB, free: 58.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003669/0.5067, allocations: 274.1 kB / 0.5607 GB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.5068, allocations: 64.19 kB / 0.5607 GB, free: 57.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.5069, allocations: 58.41 kB / 0.5608 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5069, allocations: 2.906 kB / 0.5608 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5069, allocations: 0.7188 kB / 0.5608 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5069, allocations: 1.047 kB / 0.5608 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.5073, allocations: 276.9 kB / 0.561 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5073, allocations: 0.5312 kB / 0.561 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.5073, allocations: 1.312 kB / 0.561 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5073, allocations: 6.156 kB / 0.561 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/0.5074, allocations: 29.69 kB / 0.5611 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5074, allocations: 4.438 kB / 0.5611 GB, free: 57.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5074, allocations: 1.891 kB / 0.5611 GB, free: 57.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5084, allocations: 0.6504 MB / 0.5617 GB, free: 57.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.5087, allocations: 185 kB / 0.5619 GB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.5087, allocations: 16.42 kB / 0.5619 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.5088, allocations: 6.547 kB / 0.5619 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.5088, allocations: 3.219 kB / 0.5619 GB, free: 57.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.509, allocations: 161.8 kB / 0.5621 GB, free: 57.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004291/0.5094, allocations: 428 kB / 0.5625 GB, free: 57.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5094, allocations: 0 / 0.5625 GB, free: 57.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000651/0.5101, allocations: 205.9 kB / 0.5627 GB, free: 57.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (nFailed,res[1],res[2],res[3],res[4],res[5],res[6],res[7],res[8],res[9],res[10],dev) * Number of discrete states: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.002142/0.5122, allocations: 1.57 MB / 0.5642 GB, free: 56.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.5128, allocations: 414.8 kB / 0.5646 GB, free: 56.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5128, allocations: 0 / 0.5646 GB, free: 56.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.513, allocations: 241.9 kB / 0.5648 GB, free: 56.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.5132, allocations: 18.41 kB / 0.5649 GB, free: 56.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5145, allocations: 0.9802 MB / 0.5658 GB, free: 55.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.5147, allocations: 206.9 kB / 0.566 GB, free: 55.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.023e-06/0.5147, allocations: 0 / 0.566 GB, free: 55.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.5148, allocations: 12.75 kB / 0.566 GB, free: 55.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5148, allocations: 1.312 kB / 0.566 GB, free: 55.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.621, allocations: 9.447 MB / 0.5753 GB, free: 47.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.229, allocations: 0 / 0.5753 GB, free: 47.87 MB / 410.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsNonAnalytical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsNonAnalytical.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsNonAnalytical.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.925220591016114]