Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.001818/0.001818, allocations: 81.47 kB / 19.76 MB, free: 2.02 MB / 14.72 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.002087/0.002087, allocations: 153.2 kB / 23 MB, free: 4.969 MB / 14.72 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.507/1.507, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.02422/0.02422, allocations: 2.272 MB / 262 MB, free: 14.39 MB / 254.1 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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 75.89 kB / 386.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 54.33 MB / 440.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003424/0.1265, allocations: 1.564 MB / 442.2 MB, free: 9.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1285, allocations: 1.138 MB / 443.3 MB, free: 8.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1285, allocations: 3.938 kB / 443.3 MB, free: 8.547 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1288, allocations: 23.86 kB / 443.4 MB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1292, allocations: 107.5 kB / 443.5 MB, free: 8.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.269e-05/0.1292, allocations: 11.92 kB / 443.5 MB, free: 8.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.1293, allocations: 35.91 kB / 443.5 MB, free: 8.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1294, allocations: 8 kB / 443.5 MB, free: 8.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.1295, allocations: 15.92 kB / 443.5 MB, free: 8.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1296, allocations: 15.92 kB / 443.6 MB, free: 8.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1296, allocations: 0 / 443.6 MB, free: 8.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1298, allocations: 99.92 kB / 443.7 MB, free: 8.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.1298, allocations: 19.86 kB / 443.7 MB, free: 8.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.1298, allocations: 15.92 kB / 443.7 MB, free: 8.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1301, allocations: 115.6 kB / 443.8 MB, free: 8.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1301, allocations: 0 / 443.8 MB, free: 8.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1301, allocations: 4 kB / 443.8 MB, free: 8.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1301, allocations: 0 / 443.8 MB, free: 8.086 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005698/0.1307, allocations: 305.8 kB / 444.1 MB, free: 7.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1308, allocations: 12.03 kB / 444.1 MB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.1308, allocations: 0.9375 kB / 444.1 MB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1311, allocations: 122.5 kB / 444.2 MB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1311, allocations: 8.312 kB / 444.2 MB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1311, allocations: 384 / 444.2 MB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1312, allocations: 53.75 kB / 444.3 MB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1312, allocations: 3.984 kB / 444.3 MB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1312, allocations: 0 / 444.3 MB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1312, allocations: 0 / 444.3 MB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.1313, allocations: 19.98 kB / 444.3 MB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1317, allocations: 212.6 kB / 444.5 MB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1319, allocations: 54.56 kB / 444.6 MB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.132, allocations: 12.86 kB / 444.6 MB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.132, allocations: 0 / 444.6 MB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.132, allocations: 42.64 kB / 444.6 MB, free: 7.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.132, allocations: 0 / 444.6 MB, free: 7.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002572/0.1323, allocations: 65.62 kB / 444.7 MB, free: 7.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1323, allocations: 55.34 kB / 444.8 MB, free: 7.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1325, allocations: 121.8 kB / 444.9 MB, free: 6.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1325, allocations: 29.7 kB / 444.9 MB, free: 6.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1325, allocations: 88.12 kB / 445 MB, free: 6.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1326, allocations: 15.84 kB / 445 MB, free: 6.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1326, allocations: 17.7 kB / 445 MB, free: 6.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1328, allocations: 314.8 kB / 445.3 MB, free: 6.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.1328, allocations: 11.98 kB / 445.3 MB, free: 6.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.1328, allocations: 8 kB / 445.4 MB, free: 6.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.1329, allocations: 32.78 kB / 445.4 MB, free: 6.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1329, allocations: 0 / 445.4 MB, free: 6.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.133, allocations: 65.61 kB / 445.4 MB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1331, allocations: 4 kB / 445.5 MB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1331, allocations: 0 / 445.5 MB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1331, allocations: 0 / 445.5 MB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.1331, allocations: 8 kB / 445.5 MB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1331, allocations: 0 / 445.5 MB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.1332, allocations: 7.938 kB / 445.5 MB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1332, allocations: 4 kB / 445.5 MB, free: 6.25 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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 0.0001047/0.1333, allocations: 113.8 kB / 445.6 MB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1333, allocations: 4 kB / 445.6 MB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.1333, allocations: 11.94 kB / 445.6 MB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1333, allocations: 0 / 445.6 MB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1333, allocations: 0 / 445.6 MB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1333, allocations: 0 / 445.6 MB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1335, allocations: 117.2 kB / 445.7 MB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1335, allocations: 0 / 445.7 MB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.1336, allocations: 11.98 kB / 445.7 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1336, allocations: 0 / 445.7 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1336, allocations: 0 / 445.7 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1336, allocations: 0 / 445.7 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1336, allocations: 336 / 445.7 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1338, allocations: 171.3 kB / 445.9 MB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.1338, allocations: 4 kB / 445.9 MB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1338, allocations: 0 / 445.9 MB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.1339, allocations: 3.984 kB / 445.9 MB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.1339, allocations: 4.375 kB / 445.9 MB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1339, allocations: 0 / 445.9 MB, free: 5.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.134, allocations: 95.2 kB / 446 MB, free: 5.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.134, allocations: 0 / 446 MB, free: 5.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1343, allocations: 39.81 kB / 446 MB, free: 5.625 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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.000927/0.1352, allocations: 327.3 kB / 446.4 MB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1354, allocations: 27.92 kB / 446.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1354, allocations: 0 / 446.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.1354, allocations: 11.98 kB / 446.4 MB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1357, allocations: 15.88 kB / 446.4 MB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.1361, allocations: 129.5 kB / 446.5 MB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.1362, allocations: 67.34 kB / 446.6 MB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.1362, allocations: 4.25 kB / 446.6 MB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1362, allocations: 16.48 kB / 446.6 MB, free: 5.059 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1362, allocations: 0 / 446.6 MB, free: 5.059 MB / 414.1 MB Notification: Performance of Templates: time 0.004694/0.1409, allocations: 1.359 MB / 448 MB, free: 3.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.INITest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.615462643094361] Failed to read output from testmodel.py, exit status != 0: 0.1503455019555986 0.16439134300000002 0.031211469000000002 Calling exit ...