Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.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.001303/0.001303, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001048/0.001048, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.047/1.047, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.04636/0.04636, allocations: 11.38 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.HelmholtzDerivsAssociating,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 397.6 MB, free: 456 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.019e-05, allocations: 2.281 kB / 397.6 MB, free: 452 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating): time 0.00138/0.0014, allocations: 0.5346 MB / 398.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3105/0.3119, allocations: 51.47 MB / 449.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.3119, allocations: 0 / 449.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.312, allocations: 0 / 449.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.312, allocations: 28.14 kB / 449.7 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.3144, allocations: 1.078 MB / 450.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3145, allocations: 48.8 kB / 450.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.3146, allocations: 6.625 kB / 450.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.3146, allocations: 51.73 kB / 450.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3147, allocations: 27.3 kB / 450.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3148, allocations: 4.281 kB / 450.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3158, allocations: 1.324 MB / 452.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.3159, allocations: 87.03 kB / 452.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.316, allocations: 42.25 kB / 452.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.3166, allocations: 0.817 MB / 453.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3166, allocations: 0 / 453.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3166, allocations: 4.094 kB / 453.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3166, allocations: 0 / 453.2 MB, free: 43.26 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.002124/0.3187, allocations: 3.091 MB / 456.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3188, allocations: 9.906 kB / 456.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.3188, allocations: 41 kB / 456.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.3189, allocations: 42.81 kB / 456.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.319, allocations: 224.3 kB / 456.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.319, allocations: 0 / 456.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.319, allocations: 6.094 kB / 456.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3193, allocations: 231.7 kB / 456.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3193, allocations: 3.375 kB / 456.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3193, allocations: 5.391 kB / 456.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3193, allocations: 0 / 456.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3194, allocations: 143.1 kB / 456.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.3196, allocations: 241.7 kB / 457.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3198, allocations: 169.9 kB / 457.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3199, allocations: 154.6 kB / 457.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.3199, allocations: 0 / 457.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.3199, allocations: 79.58 kB / 457.6 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.3199, allocations: 0 / 457.6 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006814/0.3206, allocations: 0.7024 MB / 458.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3207, allocations: 100.7 kB / 458.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.321, allocations: 0.5107 MB / 458.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.321, allocations: 29.98 kB / 458.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.321, allocations: 85.48 kB / 459 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3211, allocations: 25.14 kB / 459 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.3211, allocations: 110.6 kB / 459.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.3212, allocations: 320.2 kB / 459.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3213, allocations: 143 kB / 459.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3214, allocations: 145.3 kB / 459.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.3217, allocations: 317.7 kB / 460 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3217, allocations: 0 / 460 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000448/0.3222, allocations: 0.5002 MB / 460.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.3222, allocations: 60.59 kB / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3222, allocations: 0 / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3222, allocations: 0.875 kB / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3222, allocations: 2.844 kB / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3222, allocations: 0 / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3223, allocations: 19.41 kB / 460.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.3224, allocations: 137.2 kB / 460.7 MB, free: 40.88 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.0002168/0.3227, allocations: 269.2 kB / 461 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3227, allocations: 48.28 kB / 461.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.3227, allocations: 50.39 kB / 461.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3227, allocations: 0.6562 kB / 461.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3227, allocations: 1.031 kB / 461.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3227, allocations: 3.062 kB / 461.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3229, allocations: 258 kB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3229, allocations: 5.375 kB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.3229, allocations: 0.6562 kB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3229, allocations: 3.516 kB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3229, allocations: 26.12 kB / 461.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3229, allocations: 4 kB / 461.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3229, allocations: 0 / 461.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.3234, allocations: 0.6384 MB / 462 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3236, allocations: 161.7 kB / 462.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3237, allocations: 13.14 kB / 462.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.3238, allocations: 7.078 kB / 462.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.4e-05/0.3238, allocations: 6.594 kB / 462.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.3239, allocations: 142.4 kB / 462.4 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.3242, allocations: 377.2 kB / 462.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 462.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.3246, allocations: 198.4 kB / 462.9 MB, free: 40.22 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.001757/0.3264, allocations: 1.581 MB / 464.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.3269, allocations: 424.2 kB / 464.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3269, allocations: 0.875 kB / 464.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.3272, allocations: 253.8 kB / 465.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3274, allocations: 18.41 kB / 465.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3284, allocations: 0.8844 MB / 466.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3286, allocations: 185.5 kB / 466.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.766e-05/0.3286, allocations: 0 / 466.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3286, allocations: 12.31 kB / 466.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3286, allocations: 0 / 466.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/0.4528, allocations: 9.008 MB / 475.3 MB, free: 36.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.016, allocations: 17.09 kB / 475.3 MB, free: 36.78 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_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_HelmholtzDerivsAssociating.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.463448177091777]