Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.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.0008708/0.0008708, allocations: 77.33 kB / 20.86 MB, free: 3.602 MB / 18.57 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.0009001/0.0009001, allocations: 168.5 kB / 24.3 MB, free: 168 kB / 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 0.9022/0.9022, allocations: 177.2 MB / 204.7 MB, free: 5.402 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.04656/0.04656, allocations: 11.7 MB / 272.9 MB, free: 1.836 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: translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 292.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.437e-05, allocations: 2.969 kB / 292.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.04196/0.04197, allocations: 59.08 MB / 351.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03699/0.07896, allocations: 53.97 MB / 405.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.07919, allocations: 7.938 kB / 405.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.07998, allocations: 362.4 kB / 405.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03269/0.1127, allocations: 16.15 MB / 421.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01335/0.126, allocations: 6.533 MB / 428.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1889/0.3149, allocations: 59.15 MB / 487.5 MB, free: 38.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.315, allocations: 25.09 kB / 487.5 MB, free: 38.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.3153, allocations: 329 kB / 487.8 MB, free: 38.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01494/0.3302, allocations: 25.55 MB / 0.5013 GB, free: 16.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.3303, allocations: 12 kB / 0.5013 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02983/0.3601, allocations: 20.2 MB / 0.5211 GB, free: 1.461 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3603, allocations: 268.4 kB / 0.5213 GB, free: 1.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.3605, allocations: 201.2 kB / 0.5215 GB, free: 1.105 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.3788, allocations: 9.619 MB / 0.5309 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3788, allocations: 4 kB / 0.5309 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3788, allocations: 0 / 0.5309 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3788, allocations: 0 / 0.5309 GB, free: 10.72 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002588/0.3814, allocations: 2.185 MB / 0.533 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3815, allocations: 8.031 kB / 0.5331 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.3822, allocations: 312.6 kB / 0.5334 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3827, allocations: 464.1 kB / 0.5338 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3827, allocations: 40.25 kB / 0.5338 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3828, allocations: 103.5 kB / 0.5339 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.3834, allocations: 0.7349 MB / 0.5346 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3834, allocations: 0 / 0.5346 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.3834, allocations: 17.69 kB / 0.5347 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.3835, allocations: 53.09 kB / 0.5347 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.384, allocations: 0.5356 MB / 0.5352 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.3855, allocations: 1.164 MB / 0.5364 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.3861, allocations: 0.7589 MB / 0.5371 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3863, allocations: 210.1 kB / 0.5373 GB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06256/0.4488, allocations: 56.52 MB / 0.5925 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1227/0.5715, allocations: 0.6183 MB / 0.5931 GB, free: 143 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 3.357e-06/0.5715, allocations: 0 / 0.5931 GB, free: 143 MB / 458.7 MB Notification: Performance of matching and sorting (n=161): time 0.01859/0.5901, allocations: 7.082 MB / 0.6 GB, free: 142.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.5901, allocations: 124.2 kB / 0.6001 GB, free: 142.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5903, allocations: 488.3 kB / 0.6006 GB, free: 142 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.5904, allocations: 61.45 kB / 0.6007 GB, free: 142 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.5905, allocations: 188.4 kB / 0.6009 GB, free: 141.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.5907, allocations: 0.5995 MB / 0.6014 GB, free: 141.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.591, allocations: 454 kB / 0.6019 GB, free: 141.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.138e-05/0.591, allocations: 320.6 kB / 0.6022 GB, free: 141.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.5914, allocations: 413.7 kB / 0.6026 GB, free: 141.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.5917, allocations: 0.6014 MB / 0.6032 GB, free: 141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.5926, allocations: 1.249 MB / 0.6044 GB, free: 140.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5926, allocations: 3.75 kB / 0.6044 GB, free: 140.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001054/0.5936, allocations: 1.472 MB / 0.6058 GB, free: 140.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5937, allocations: 34.36 kB / 0.6059 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5937, allocations: 1.656 kB / 0.6059 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5937, allocations: 13.91 kB / 0.6059 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.5945, allocations: 0.5126 MB / 0.6064 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5945, allocations: 13.12 kB / 0.6064 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.5947, allocations: 40.47 kB / 0.6064 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5948, allocations: 107.8 kB / 0.6065 GB, free: 140.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (s0.phase,s1.phase,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 229 * Array equations: 1 * 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.0002009/0.595, allocations: 237.6 kB / 0.6067 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5952, allocations: 107.6 kB / 0.6068 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.5998, allocations: 7.895 MB / 0.6146 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.5998, allocations: 11.11 kB / 0.6146 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5998, allocations: 0.5 kB / 0.6146 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.6, allocations: 290.9 kB / 0.6148 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.6001, allocations: 49.16 kB / 0.6149 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.6004, allocations: 52.72 kB / 0.6149 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6005, allocations: 139 kB / 0.6151 GB, free: 139.5 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002995/0.6035, allocations: 4.902 MB / 0.6199 GB, free: 139.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003646/0.6071, allocations: 7.024 MB / 0.6267 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001087/0.6082, allocations: 2.294 MB / 0.629 GB, free: 131 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.6083, allocations: 191.6 kB / 0.6291 GB, free: 130.8 MB / 458.7 MB Notification: Performance of Backend: time 3.71e-07/0.6083, allocations: 3.781 kB / 0.6292 GB, free: 130.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005663/0.614, allocations: 5.034 MB / 0.6341 GB, free: 127.7 MB / 458.7 MB Notification: Performance of SimCode: time 0.002142/0.6161, allocations: 3.238 MB / 0.6372 GB, free: 125 MB / 458.7 MB Notification: Performance of Templates: time 0.07417/0.6903, allocations: 110.2 MB / 0.7449 GB, free: 20.36 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.418730069883168]