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.0006762/0.0006762, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009338/0.00161, allocations: 440 kB / 10.41 MB, free: 284 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.0006722/0.0006722, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009561/0.001628, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9302/0.9302, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.00917/0.00917, allocations: 2.246 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002411/0.01158, allocations: 1.422 MB / 247.8 MB, free: 11.06 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.042e-06/1.042e-06, allocations: 0 / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.755e-05, allocations: 2.312 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002043/0.002061, allocations: 1.811 MB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.003869, allocations: 1.816 MB / 252.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.003922, allocations: 0 / 252.7 MB, free: 6.129 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.0002099/0.004132, allocations: 55.64 kB / 252.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.004405, allocations: 119.3 kB / 252.9 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.004588, allocations: 75.72 kB / 253 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.004709, allocations: 91.7 kB / 253.1 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.004781, allocations: 4.234 kB / 253.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.004885, allocations: 79.75 kB / 253.1 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.005011, allocations: 27.91 kB / 253.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.005027, allocations: 4 kB / 253.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.005297, allocations: 195.7 kB / 253.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.005342, allocations: 19.94 kB / 253.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.005376, allocations: 19.92 kB / 253.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.005628, allocations: 211.3 kB / 253.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.005639, allocations: 0 / 253.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00564, allocations: 4 kB / 253.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.005648, allocations: 0 / 253.6 MB, free: 5.234 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.0005497/0.006197, allocations: 385.5 kB / 254 MB, free: 4.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.006226, allocations: 8.031 kB / 254 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.006262, allocations: 8.938 kB / 254 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006405, allocations: 137.6 kB / 254.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.006414, allocations: 4.375 kB / 254.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.006424, allocations: 384 / 254.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006558, allocations: 125.2 kB / 254.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.006565, allocations: 7.938 kB / 254.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.006574, allocations: 4 kB / 254.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.006577, allocations: 0 / 254.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.006622, allocations: 56.45 kB / 254.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.006814, allocations: 180 kB / 254.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.006945, allocations: 98.86 kB / 254.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.00698, allocations: 51.42 kB / 254.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.006991, allocations: 3.984 kB / 254.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.007123, allocations: 171.2 kB / 254.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.007125, allocations: 0 / 254.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001726/0.007297, allocations: 189.5 kB / 255 MB, free: 3.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.007364, allocations: 195.9 kB / 255.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.007435, allocations: 134.7 kB / 255.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.007448, allocations: 25.7 kB / 255.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.007473, allocations: 88.12 kB / 255.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.007503, allocations: 35.72 kB / 255.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.007534, allocations: 17.72 kB / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.007609, allocations: 326.8 kB / 255.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.007644, allocations: 52.52 kB / 255.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.00768, allocations: 63.34 kB / 255.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.007754, allocations: 123.8 kB / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007755, allocations: 0 / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000107/0.007862, allocations: 147.8 kB / 256.2 MB, free: 2.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.007896, allocations: 37.69 kB / 256.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.007899, allocations: 0 / 256.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.007909, allocations: 0 / 256.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.007965, allocations: 16 kB / 256.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007968, allocations: 0 / 256.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.008003, allocations: 11.94 kB / 256.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.00801, allocations: 8 kB / 256.3 MB, free: 2.234 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 7.622e-05/0.008086, allocations: 150.4 kB / 256.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.008104, allocations: 11.94 kB / 256.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.008126, allocations: 16.42 kB / 256.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008127, allocations: 0 / 256.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.008129, allocations: 3.938 kB / 256.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.008133, allocations: 4 kB / 256.5 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.008205, allocations: 81.81 kB / 256.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008206, allocations: 8 kB / 256.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.008235, allocations: 11.98 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.008248, allocations: 15.95 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.00825, allocations: 3.938 kB / 256.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008257, allocations: 4 kB / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.008259, allocations: 0 / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00826, allocations: 0 / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.008396, allocations: 198.9 kB / 256.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.008414, allocations: 11.88 kB / 256.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.008444, allocations: 7.984 kB / 256.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.008465, allocations: 0 / 256.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.008478, allocations: 11.98 kB / 256.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.008501, allocations: 20.84 kB / 256.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008501, allocations: 4 kB / 256.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.008692, allocations: 75.73 kB / 256.9 MB, free: 1.531 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.00121/0.009903, allocations: 0.5314 MB / 257.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01006, allocations: 187.5 kB / 257.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.01006, allocations: 4 kB / 257.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.01013, allocations: 125.9 kB / 257.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.01027, allocations: 87.33 kB / 257.8 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.0107, allocations: 260.6 kB / 258.1 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.01073, allocations: 65.78 kB / 258.1 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.01075, allocations: 4 kB / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.01084, allocations: 83.34 kB / 258.2 MB, free: 256 kB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01084, allocations: 0 / 258.2 MB, free: 256 kB / 250.7 MB Notification: Performance of Templates: time 0.004277/0.01511, allocations: 2.902 MB / 261.1 MB, free: 13.37 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 & ./ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3681750847026706]