Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.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.0007568/0.0007568, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001879, 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/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.0006954/0.0006954, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008982/0.001594, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9686/0.9686, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0863/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.009302/0.009302, allocations: 2.244 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002693/0.01199, allocations: 1.429 MB / 247.8 MB, free: 11.08 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.539e-05, allocations: 2.312 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.001954/0.00197, allocations: 1.796 MB / 250.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003709, allocations: 1.817 MB / 252.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.003773, allocations: 3.938 kB / 252.7 MB, free: 6.148 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:86:3-121:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.003981, allocations: 47.72 kB / 252.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.004254, allocations: 119.3 kB / 252.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.004409, allocations: 79.7 kB / 253 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.004527, allocations: 83.72 kB / 253.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.004596, allocations: 12.22 kB / 253.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.004693, allocations: 75.77 kB / 253.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.004809, allocations: 31.89 kB / 253.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004825, allocations: 4 kB / 253.2 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.005102, allocations: 199.6 kB / 253.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.005152, allocations: 19.94 kB / 253.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.005187, allocations: 15.94 kB / 253.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.005445, allocations: 211.4 kB / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.005459, allocations: 0 / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00546, allocations: 0 / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.00547, allocations: 4 kB / 253.6 MB, free: 5.262 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004665/0.005936, allocations: 385.4 kB / 254 MB, free: 4.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.005965, allocations: 8.031 kB / 254 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.006005, allocations: 8.938 kB / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.006143, allocations: 133.7 kB / 254.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.006154, allocations: 4.375 kB / 254.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.006162, allocations: 4.375 kB / 254.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006301, allocations: 129 kB / 254.3 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.00631, allocations: 3.938 kB / 254.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.006319, allocations: 8 kB / 254.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.006325, allocations: 0 / 254.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.006369, allocations: 52.5 kB / 254.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.006574, allocations: 183.9 kB / 254.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.006711, allocations: 98.98 kB / 254.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.006748, allocations: 51.42 kB / 254.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.006762, allocations: 3.938 kB / 254.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.006901, allocations: 163.3 kB / 254.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.006903, allocations: 0 / 254.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001792/0.007082, allocations: 197.5 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.007148, allocations: 191.9 kB / 255.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.007217, allocations: 138.3 kB / 255.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.007229, allocations: 25.7 kB / 255.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.007254, allocations: 88.12 kB / 255.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.00728, allocations: 27.73 kB / 255.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.007314, allocations: 25.7 kB / 255.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.007382, allocations: 322.8 kB / 255.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.007415, allocations: 52.52 kB / 255.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.007452, allocations: 63.33 kB / 255.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.007525, allocations: 119.8 kB / 256.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007527, allocations: 0 / 256.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001034/0.007631, allocations: 147.8 kB / 256.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.007664, allocations: 37.69 kB / 256.2 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007668, allocations: 3.938 kB / 256.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.007675, allocations: 0 / 256.2 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.007728, allocations: 16 kB / 256.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007731, allocations: 0 / 256.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.007766, allocations: 11.94 kB / 256.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007774, allocations: 4 kB / 256.3 MB, free: 2.27 MB / 250.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: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 8.561e-05/0.00786, allocations: 162.3 kB / 256.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.007878, allocations: 11.94 kB / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.007913, allocations: 16.42 kB / 256.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007916, allocations: 4 kB / 256.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.007918, allocations: 0 / 256.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007921, allocations: 336 / 256.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.765e-05/0.007998, allocations: 89.81 kB / 256.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.008001, allocations: 4 kB / 256.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.00803, allocations: 11.98 kB / 256.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008043, allocations: 11.94 kB / 256.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008045, allocations: 3.938 kB / 256.6 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.008052, allocations: 8 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008053, allocations: 0 / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.008055, allocations: 3.984 kB / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.008184, allocations: 191 kB / 256.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.008206, allocations: 11.92 kB / 256.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.008232, allocations: 4 kB / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.008256, allocations: 8 kB / 256.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.008267, allocations: 7.922 kB / 256.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.406e-05/0.008291, allocations: 24.83 kB / 256.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008291, allocations: 4 kB / 256.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.008483, allocations: 83.73 kB / 256.9 MB, free: 1.547 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.001016/0.009498, allocations: 0.515 MB / 257.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.009686, allocations: 186.6 kB / 257.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.009693, allocations: 3.984 kB / 257.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.009789, allocations: 137.9 kB / 257.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.009925, allocations: 79.39 kB / 257.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.01037, allocations: 268.5 kB / 258.1 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.0104, allocations: 64.16 kB / 258.2 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.01043, allocations: 7.938 kB / 258.2 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.01051, allocations: 75.36 kB / 258.2 MB, free: 280 kB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01051, allocations: 0 / 258.2 MB, free: 280 kB / 250.7 MB Notification: Performance of Templates: time 0.004388/0.0149, allocations: 2.91 MB / 261.2 MB, free: 13.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.JSONTest.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest.pipe >> ../files/ExternData_ExternData.Examples.JSONTest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.JSONTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.JSONTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.JSONTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.JSONTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.JSONTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.JSONTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.JSONTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.JSONTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.JSONTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.492169551551342]