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.001173/0.001173, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001919/0.001919, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.068/1.068, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.04623/0.04623, allocations: 11.37 MB / 270.6 MB, free: 2.566 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 2.344e-06/2.344e-06, allocations: 0 / 397.6 MB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.027e-05, allocations: 10.22 kB / 397.6 MB, free: 448 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsNonAnalytical): time 0.002149/0.002179, allocations: 0.5329 MB / 398.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.299/0.3012, allocations: 51.48 MB / 449.6 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.3013, allocations: 0 / 449.6 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.3013, allocations: 3.188 kB / 449.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.3014, allocations: 30.19 kB / 449.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.3039, allocations: 1.226 MB / 450.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.304, allocations: 59.62 kB / 451 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.304, allocations: 0 / 451 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.3041, allocations: 59.36 kB / 451 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3042, allocations: 26.84 kB / 451.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.3043, allocations: 3.891 kB / 451.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3055, allocations: 1.58 MB / 452.6 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3056, allocations: 102.7 kB / 452.7 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3057, allocations: 49.97 kB / 452.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.3065, allocations: 0.8553 MB / 453.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3065, allocations: 0 / 453.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3065, allocations: 0 / 453.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3065, allocations: 0.5469 kB / 453.6 MB, free: 43.21 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.002651/0.3092, allocations: 4.007 MB / 457.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.3093, allocations: 9.438 kB / 457.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.3093, allocations: 43.94 kB / 457.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.3094, allocations: 49.48 kB / 457.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3095, allocations: 239.7 kB / 458 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3095, allocations: 0 / 458 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3096, allocations: 6.609 kB / 458 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.3098, allocations: 246.8 kB / 458.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3098, allocations: 0.5469 kB / 458.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3098, allocations: 5 kB / 458.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3098, allocations: 6.906 kB / 458.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.31, allocations: 150.9 kB / 458.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.3102, allocations: 266 kB / 458.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3104, allocations: 166.9 kB / 458.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3105, allocations: 158.4 kB / 459 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.3105, allocations: 0 / 459 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.3105, allocations: 78.89 kB / 459 MB, free: 41.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.494e-06/0.3105, allocations: 0 / 459 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007269/0.3113, allocations: 0.7357 MB / 459.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3113, allocations: 100.8 kB / 459.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.3117, allocations: 0.581 MB / 460.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3117, allocations: 28.64 kB / 460.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.3117, allocations: 85.89 kB / 460.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3117, allocations: 28.05 kB / 460.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.3118, allocations: 126 kB / 460.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.3119, allocations: 319.5 kB / 461 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.312, allocations: 145.2 kB / 461.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3121, allocations: 159.6 kB / 461.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3124, allocations: 311.2 kB / 461.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3124, allocations: 0.6562 kB / 461.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000436/0.3128, allocations: 0.523 MB / 462.2 MB, free: 40.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.3129, allocations: 64.5 kB / 462.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3129, allocations: 2.531 kB / 462.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3129, allocations: 1.094 kB / 462.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3129, allocations: 0 / 462.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3129, allocations: 4.062 kB / 462.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.313, allocations: 16.97 kB / 462.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.866e-05/0.3131, allocations: 161.3 kB / 462.4 MB, free: 40.77 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.0002075/0.3133, allocations: 279.7 kB / 462.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.3134, allocations: 57.11 kB / 462.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3134, allocations: 55.11 kB / 462.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3134, allocations: 2.906 kB / 462.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3134, allocations: 0 / 462.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3134, allocations: 0.875 kB / 462.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.3135, allocations: 289.7 kB / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3136, allocations: 5.375 kB / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.3136, allocations: 2.969 kB / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3136, allocations: 0 / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3136, allocations: 32.91 kB / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3136, allocations: 0 / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3136, allocations: 3.906 kB / 463.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.3141, allocations: 0.6647 MB / 463.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.3143, allocations: 176.1 kB / 464 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3144, allocations: 12.97 kB / 464 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.3144, allocations: 13.38 kB / 464 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.3144, allocations: 3.938 kB / 464 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/0.3145, allocations: 167.8 kB / 464.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002471/0.3148, allocations: 423.8 kB / 464.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3148, allocations: 0 / 464.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.3151, allocations: 207.9 kB / 464.8 MB, free: 40.09 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.001415/0.3165, allocations: 1.633 MB / 466.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3169, allocations: 429.3 kB / 466.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3169, allocations: 2.969 kB / 466.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3171, allocations: 250.7 kB / 467.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3173, allocations: 22.31 kB / 467.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.3182, allocations: 0.986 MB / 468.1 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3183, allocations: 204.2 kB / 468.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.47e-06/0.3183, allocations: 0 / 468.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.3183, allocations: 12.38 kB / 468.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3183, allocations: 0 / 468.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0975/0.4158, allocations: 9.586 MB / 477.9 MB, free: 36.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.167, allocations: 11.84 kB / 477.9 MB, free: 36.36 MB / 410.7 MB " [Timeout remaining time 652] (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: 10.820131045766175]