Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.001006/0.001006, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002451, 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 0.8711/0.8711, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1875/1.059, allocations: 53.65 MB / 242 MB, free: 2.598 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.0009849/0.0009849, allocations: 158.4 kB / 242.9 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002131, allocations: 479 kB / 243.4 MB, free: 1.262 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.02387/0.02387, allocations: 6.656 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004195/0.02807, allocations: 2.67 MB / 253.5 MB, free: 7.387 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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/9.959e-06, allocations: 2.312 kB / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001463/0.001473, allocations: 1.471 MB / 256.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.002279, allocations: 0.891 MB / 257.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.002304, allocations: 4 kB / 257.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.002474, allocations: 99.36 kB / 257.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.394e-05/0.002498, allocations: 4 kB / 257.2 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.002823, allocations: 270.7 kB / 257.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.002917, allocations: 43.8 kB / 257.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.559e-05/0.002942, allocations: 4 kB / 257.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.003018, allocations: 35.78 kB / 257.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.003046, allocations: 11.98 kB / 257.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.003054, allocations: 0 / 257.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.003228, allocations: 131.7 kB / 257.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.003238, allocations: 3.938 kB / 257.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.003252, allocations: 12 kB / 257.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.0034, allocations: 127.6 kB / 257.8 MB, free: 3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.003411, allocations: 0 / 257.8 MB, free: 3 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003412, allocations: 0 / 257.8 MB, free: 3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.003419, allocations: 0 / 257.8 MB, free: 3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000567/0.003986, allocations: 429.2 kB / 258.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.004012, allocations: 12.02 kB / 258.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.004035, allocations: 4.938 kB / 258.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.936e-05/0.004094, allocations: 117.7 kB / 258.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.004102, allocations: 384 / 258.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.00411, allocations: 8.312 kB / 258.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.004172, allocations: 46.23 kB / 258.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.004177, allocations: 192 / 258.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-06/0.004182, allocations: 384 / 258.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.004187, allocations: 3.938 kB / 258.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.004216, allocations: 19.98 kB / 258.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.98e-05/0.004295, allocations: 72.97 kB / 258.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/0.00438, allocations: 50.62 kB / 258.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.004398, allocations: 12.8 kB / 258.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.004412, allocations: 12.12 kB / 258.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.004428, allocations: 30.56 kB / 258.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 6.52e-07/0.004428, allocations: 0 / 258.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001049/0.004533, allocations: 53.69 kB / 258.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.004557, allocations: 51.41 kB / 258.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.177e-05/0.004598, allocations: 114.7 kB / 258.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.004618, allocations: 25.7 kB / 258.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.004637, allocations: 84.14 kB / 259 MB, free: 1.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.004658, allocations: 19.83 kB / 259 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.004681, allocations: 17.72 kB / 259 MB, free: 1.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.004746, allocations: 322.8 kB / 259.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.004759, allocations: 15.92 kB / 259.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.004771, allocations: 4 kB / 259.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.004803, allocations: 24.84 kB / 259.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.004805, allocations: 0 / 259.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.216e-05/0.004857, allocations: 53.69 kB / 259.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.004867, allocations: 6.656 kB / 259.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/0.00487, allocations: 0 / 259.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.004876, allocations: 0 / 259.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.004935, allocations: 19.88 kB / 259.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.004937, allocations: 0.6875 kB / 259.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.004955, allocations: 7.938 kB / 259.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.004961, allocations: 3.984 kB / 259.4 MB, free: 1.219 MB / 250.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 (6): * Single equations (assignments): 6 * 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 4.165e-05/0.005003, allocations: 113.8 kB / 259.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.005009, allocations: 4 kB / 259.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.005096, allocations: 70.03 kB / 259.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005097, allocations: 4 kB / 259.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005099, allocations: 4 kB / 259.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005102, allocations: 0 / 259.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.1e-05/0.005163, allocations: 81.81 kB / 259.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005163, allocations: 4 kB / 259.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.005201, allocations: 23.94 kB / 259.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.005208, allocations: 3.953 kB / 259.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005209, allocations: 0 / 259.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005214, allocations: 4 kB / 259.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005214, allocations: 0 / 259.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.005215, allocations: 0 / 259.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.246e-05/0.005277, allocations: 85.03 kB / 259.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.005286, allocations: 4 kB / 259.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.494e-05/0.005301, allocations: 0 / 259.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.005314, allocations: 7.984 kB / 259.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005316, allocations: 0 / 259.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.496e-06/0.005325, allocations: 12.86 kB / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005325, allocations: 0 / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.583e-05/0.005421, allocations: 16 kB / 259.9 MB, free: 0.7344 MB / 250.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 (8): * Single equations (assignments): 8 * 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 7.852e-05/0.005499, allocations: 104.3 kB / 260 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.005581, allocations: 31.92 kB / 260 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.005584, allocations: 0 / 260 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.00562, allocations: 20.16 kB / 260 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.928e-05/0.005679, allocations: 11.94 kB / 260 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.006217, allocations: 176.5 kB / 260.2 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.257e-05/0.006239, allocations: 55.36 kB / 260.3 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.00626, allocations: 7.984 kB / 260.3 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.006298, allocations: 55.38 kB / 260.3 MB, free: 232 kB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006299, allocations: 0 / 260.3 MB, free: 232 kB / 250.7 MB Notification: Performance of Templates: time 0.001902/0.008201, allocations: 0.9204 MB / 261.2 MB, free: 15.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & (cd run_cvode && ../HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_dassl.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_gbode.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_ida.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4996593482792377]