Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.0007273/0.0007273, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001873, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.052/1.052, allocations: 177.2 MB / 188.4 MB, free: 4.383 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1553/1.207, allocations: 53.66 MB / 242 MB, free: 2.586 MB / 234.7 MB " [Timeout remaining time 179] 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.0007916/0.0007916, allocations: 149.3 kB / 242.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001843, allocations: 483 kB / 243.4 MB, free: 1.25 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02462/0.02462, allocations: 6.651 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004159/0.02877, allocations: 2.669 MB / 253.5 MB, free: 7.383 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.237e-05, allocations: 2.312 kB / 254.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001712/0.001724, allocations: 1.351 MB / 256.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.00293, allocations: 1.206 MB / 257.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.002957, allocations: 4 kB / 257.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.003198, allocations: 75.58 kB / 257.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000722/0.00392, allocations: 394.2 kB / 257.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.003924, allocations: 7.938 kB / 257.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.004805, allocations: 0.835 MB / 258.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.004842, allocations: 4 kB / 258.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.004895, allocations: 35.92 kB / 258.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.004919, allocations: 11.92 kB / 258.7 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.004927, allocations: 0 / 258.7 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.00506, allocations: 47.91 kB / 258.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.005103, allocations: 23.92 kB / 258.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.005118, allocations: 7.938 kB / 258.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.005244, allocations: 79.69 kB / 258.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.005256, allocations: 0 / 258.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005257, allocations: 0 / 258.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.005265, allocations: 0 / 258.8 MB, free: 1.996 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002837/0.005549, allocations: 300 kB / 259.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.005577, allocations: 8.031 kB / 259.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.005813, allocations: 181.3 kB / 259.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.006177, allocations: 313.5 kB / 259.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.006219, allocations: 150.9 kB / 259.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.006256, allocations: 150.9 kB / 259.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.458e-05/0.006311, allocations: 109.5 kB / 260 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.006337, allocations: 83.45 kB / 260.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.006377, allocations: 154.9 kB / 260.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.006417, allocations: 154.5 kB / 260.4 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.006463, allocations: 158.5 kB / 260.6 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.006635, allocations: 349.3 kB / 260.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.006701, allocations: 169.1 kB / 261.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.006723, allocations: 80.14 kB / 261.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.006743, allocations: 75.28 kB / 261.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.00678, allocations: 113.8 kB / 261.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.006781, allocations: 0 / 261.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.944e-05/0.00683, allocations: 33.62 kB / 261.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.006875, allocations: 138.7 kB / 261.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.006965, allocations: 140.2 kB / 261.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.006972, allocations: 29.7 kB / 261.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.006995, allocations: 96.09 kB / 261.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-07/0.006996, allocations: 0 / 261.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.007011, allocations: 9.719 kB / 261.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.007084, allocations: 326.8 kB / 262.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-06/0.007087, allocations: 3.938 kB / 262.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-06/0.00709, allocations: 0 / 262.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.753e-05/0.007107, allocations: 75.33 kB / 262.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.007126, allocations: 79.28 kB / 262.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.068e-05/0.007167, allocations: 45.62 kB / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.00719, allocations: 79.28 kB / 262.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.007209, allocations: 75.28 kB / 262.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/0.007246, allocations: 162.5 kB / 262.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.007267, allocations: 75.28 kB / 262.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.007298, allocations: 150.6 kB / 262.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.007603, allocations: 83.31 kB / 262.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.00762, allocations: 83.3 kB / 263 MB, free: 13.66 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 7.785e-05/0.007698, allocations: 263.2 kB / 263.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.007736, allocations: 112.9 kB / 263.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.007778, allocations: 120.6 kB / 263.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/0.007812, allocations: 176.3 kB / 263.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-05/0.00785, allocations: 184.2 kB / 263.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.007886, allocations: 176.3 kB / 264 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.008013, allocations: 333.3 kB / 264.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.008037, allocations: 105 kB / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.00806, allocations: 101 kB / 264.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.008099, allocations: 124.8 kB / 264.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-05/0.00814, allocations: 176.3 kB / 264.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.008181, allocations: 180.2 kB / 265 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.185e-05/0.008223, allocations: 188.3 kB / 265.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.974e-05/0.008263, allocations: 180.2 kB / 265.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.008358, allocations: 307.8 kB / 265.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.008407, allocations: 184.2 kB / 265.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.008453, allocations: 109 kB / 265.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.0085, allocations: 180.2 kB / 266.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.008524, allocations: 101 kB / 266.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.008558, allocations: 35.23 kB / 266.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008558, allocations: 0 / 266.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.008689, allocations: 0 / 266.2 MB, free: 10.22 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001008/0.00879, allocations: 159.7 kB / 266.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.008863, allocations: 8.25 kB / 266.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.008866, allocations: 4 kB / 266.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.008895, allocations: 0 / 266.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.009188, allocations: 0.5793 MB / 267 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.009909, allocations: 238.2 kB / 267.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.00994, allocations: 63.34 kB / 267.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.009964, allocations: 15.97 kB / 267.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.01, allocations: 51.38 kB / 267.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01, allocations: 0 / 267.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of Templates: time 0.001886/0.01189, allocations: 0.577 MB / 267.9 MB, free: 8.461 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_ida.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.743854248896241]