Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 176.4 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05092/0.05092, allocations: 9.31 MB / 25.49 MB, free: 3.461 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.7 MB / 253.5 MB, free: 9.812 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007721/0.0007722, allocations: 100.2 kB / 306.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 5.688 kB / 369.1 MB, free: 53.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08575, allocations: 52.03 MB / 421.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.0145/0.1003, allocations: 18.35 MB / 439.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.118, allocations: 18.99 MB / 458.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.1182, allocations: 0 / 458.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1193, allocations: 256.9 kB / 458.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.135, allocations: 5.259 MB / 464 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.1365, allocations: 493.8 kB / 464.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1368, allocations: 199 kB / 464.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.1368, allocations: 5.125 kB / 464.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.137, allocations: 87.53 kB / 464.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1372, allocations: 59.7 kB / 464.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1372, allocations: 4 kB / 464.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/0.1559, allocations: 8.32 MB / 473.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.156, allocations: 15.92 kB / 473.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1561, allocations: 81.44 kB / 473.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.1669, allocations: 3.878 MB / 477.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.1669, allocations: 0 / 477.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1669, allocations: 3.938 kB / 477.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1669, allocations: 3.938 kB / 477.1 MB, free: 9.246 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001916/0.1689, allocations: 0.8694 MB / 478 MB, free: 8.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1689, allocations: 12.03 kB / 478 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1691, allocations: 31.83 kB / 478 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1693, allocations: 202.8 kB / 478.2 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1694, allocations: 8 kB / 478.2 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1694, allocations: 4 kB / 478.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1696, allocations: 131.4 kB / 478.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1696, allocations: 0 / 478.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1697, allocations: 8 kB / 478.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1697, allocations: 3.938 kB / 478.4 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1698, allocations: 99.89 kB / 478.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.1705, allocations: 0.5659 MB / 479 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1708, allocations: 133.1 kB / 479.2 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1709, allocations: 89.62 kB / 479.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05393/0.2249, allocations: 32.34 MB / 0.4996 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.225, allocations: 34.56 kB / 0.4996 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.225, allocations: 0 / 0.4996 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007111/0.2257, allocations: 233.2 kB / 0.4998 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.2258, allocations: 81.11 kB / 0.4999 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2259, allocations: 117.8 kB / 0.5 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2259, allocations: 25.7 kB / 0.5001 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.226, allocations: 88.56 kB / 0.5001 GB, free: 412 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.226, allocations: 74.86 kB / 0.5002 GB, free: 336 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.226, allocations: 7.938 kB / 0.5002 GB, free: 328 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1931/0.4192, allocations: 325.2 kB / 0.5005 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4194, allocations: 38.89 kB / 0.5006 GB, free: 91.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.4195, allocations: 71.3 kB / 0.5006 GB, free: 91.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4196, allocations: 119.7 kB / 0.5007 GB, free: 91.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4196, allocations: 0 / 0.5007 GB, free: 91.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002969/0.4199, allocations: 175.1 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.42, allocations: 5.25 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.42, allocations: 3.875 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.42, allocations: 3.766 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4201, allocations: 18.34 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.4201, allocations: 0.7031 kB / 0.5009 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.4202, allocations: 14.33 kB / 0.501 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.4203, allocations: 7.25 kB / 0.501 GB, free: 91.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.984e-05/0.4203, allocations: 120.6 kB / 0.5011 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.4204, allocations: 11.69 kB / 0.5011 GB, free: 91.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.4208, allocations: 304.2 kB / 0.5014 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002276/0.4211, allocations: 236.2 kB / 0.5016 GB, free: 91.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4211, allocations: 7.406 kB / 0.5016 GB, free: 91.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4211, allocations: 2.578 kB / 0.5016 GB, free: 91.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.4219, allocations: 0.7541 MB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.422, allocations: 3.625 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.4221, allocations: 39.22 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4221, allocations: 5.703 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4222, allocations: 6.25 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4222, allocations: 3.406 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4222, allocations: 0.875 kB / 0.5024 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.4227, allocations: 0.5241 MB / 0.5029 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.4228, allocations: 98.66 kB / 0.503 GB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.4228, allocations: 7.422 kB / 0.503 GB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4229, allocations: 5.5 kB / 0.503 GB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.423, allocations: 21.3 kB / 0.503 GB, free: 90.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.423, allocations: 13.23 kB / 0.5031 GB, free: 90.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.4231, allocations: 100.2 kB / 0.5032 GB, free: 90.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4231, allocations: 0 / 0.5032 GB, free: 90.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002688/0.4258, allocations: 0.9286 MB / 0.5041 GB, free: 90.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005121/0.4309, allocations: 1.433 MB / 0.5055 GB, free: 90.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.4313, allocations: 237.2 kB / 0.5057 GB, free: 90.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4313, allocations: 3.938 kB / 0.5057 GB, free: 90.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.4315, allocations: 126.1 kB / 0.5058 GB, free: 90.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.4325, allocations: 144 kB / 0.506 GB, free: 90.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/0.4334, allocations: 0.5703 MB / 0.5065 GB, free: 90.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4336, allocations: 0.7355 MB / 0.5072 GB, free: 89.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.4338, allocations: 45.08 kB / 0.5073 GB, free: 89.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.4339, allocations: 27.59 kB / 0.5073 GB, free: 89.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4339, allocations: 4 kB / 0.5073 GB, free: 89.43 MB / 378.7 MB Notification: Performance of Templates: time 0.03497/0.4688, allocations: 27.7 MB / 0.5344 GB, free: 66.84 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1)