Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.00175/0.00175, allocations: 78.88 kB / 19.76 MB, free: 1.875 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.002725/0.002725, allocations: 160.4 kB / 23.01 MB, free: 4.594 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 9.039 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.01447/0.01447, allocations: 2.259 MB / 262 MB, free: 14.47 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.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [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.00211/0.00211, allocations: 71.89 kB / 386.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.138, allocations: 54.33 MB / 440.6 MB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003596/0.1416, allocations: 1.527 MB / 442.2 MB, free: 9.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1439, allocations: 1.359 MB / 443.5 MB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.144, allocations: 0 / 443.5 MB, free: 8.445 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000397/0.1444, allocations: 55.7 kB / 443.6 MB, free: 8.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1445, allocations: 31.78 kB / 443.6 MB, free: 8.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1448, allocations: 87.42 kB / 443.7 MB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1449, allocations: 63.77 kB / 443.7 MB, free: 8.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.145, allocations: 4 kB / 443.8 MB, free: 8.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.145, allocations: 27.92 kB / 443.8 MB, free: 8.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1452, allocations: 19.86 kB / 443.8 MB, free: 8.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1452, allocations: 4 kB / 443.8 MB, free: 8.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1454, allocations: 103.8 kB / 443.9 MB, free: 8.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1455, allocations: 8 kB / 443.9 MB, free: 8.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.1455, allocations: 23.86 kB / 443.9 MB, free: 8.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1458, allocations: 131.5 kB / 444.1 MB, free: 7.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1458, allocations: 0 / 444.1 MB, free: 7.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1458, allocations: 0 / 444.1 MB, free: 7.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1458, allocations: 4 kB / 444.1 MB, free: 7.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006522/0.1465, allocations: 331.6 kB / 444.4 MB, free: 7.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1465, allocations: 8.031 kB / 444.4 MB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.1466, allocations: 4.938 kB / 444.4 MB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1469, allocations: 126.4 kB / 444.5 MB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1469, allocations: 4.375 kB / 444.5 MB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1469, allocations: 384 / 444.5 MB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1471, allocations: 95.69 kB / 444.6 MB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1471, allocations: 8 kB / 444.6 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1471, allocations: 0 / 444.6 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1471, allocations: 0 / 444.6 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1472, allocations: 65.61 kB / 444.7 MB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.1474, allocations: 121.2 kB / 444.8 MB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1475, allocations: 72.27 kB / 444.9 MB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.1476, allocations: 66.59 kB / 445 MB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1476, allocations: 0 / 445 MB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.1478, allocations: 142.9 kB / 445.1 MB, free: 6.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1478, allocations: 0 / 445.1 MB, free: 6.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004487/0.1483, allocations: 262.6 kB / 445.3 MB, free: 6.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.1484, allocations: 85.11 kB / 445.4 MB, free: 6.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1485, allocations: 133.8 kB / 445.6 MB, free: 6.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1485, allocations: 25.7 kB / 445.6 MB, free: 6.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1486, allocations: 88.14 kB / 445.7 MB, free: 6.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1487, allocations: 19.84 kB / 445.7 MB, free: 6.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1487, allocations: 29.64 kB / 445.7 MB, free: 6.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1489, allocations: 310.8 kB / 446 MB, free: 5.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1489, allocations: 61.69 kB / 446.1 MB, free: 5.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.149, allocations: 61.69 kB / 446.1 MB, free: 5.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1492, allocations: 136.1 kB / 446.3 MB, free: 5.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1492, allocations: 0 / 446.3 MB, free: 5.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002784/0.1494, allocations: 201 kB / 446.5 MB, free: 5.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.1495, allocations: 41.62 kB / 446.5 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1495, allocations: 0 / 446.5 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1495, allocations: 4 kB / 446.5 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.1496, allocations: 4 kB / 446.5 MB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1496, allocations: 0 / 446.5 MB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1497, allocations: 11.94 kB / 446.5 MB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1497, allocations: 0 / 446.5 MB, free: 5.141 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: 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 (4): * Single equations (assignments): 3 * 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 0.000162/0.1499, allocations: 163.3 kB / 446.7 MB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.1499, allocations: 15.89 kB / 446.7 MB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.1499, allocations: 12.52 kB / 446.7 MB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.1499, allocations: 3.984 kB / 446.7 MB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1499, allocations: 0 / 446.7 MB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1499, allocations: 0 / 446.7 MB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1501, allocations: 121.3 kB / 446.8 MB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1501, allocations: 0 / 446.8 MB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.1501, allocations: 4 kB / 446.8 MB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1501, allocations: 0 / 446.8 MB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1501, allocations: 8.031 kB / 446.9 MB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1501, allocations: 7.938 kB / 446.9 MB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1501, allocations: 0 / 446.9 MB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.1504, allocations: 248.4 kB / 447.1 MB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.1505, allocations: 11.89 kB / 447.1 MB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1505, allocations: 7.938 kB / 447.1 MB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.1505, allocations: 3.984 kB / 447.1 MB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1506, allocations: 4 kB / 447.1 MB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1506, allocations: 8 kB / 447.1 MB, free: 4.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.1507, allocations: 99.27 kB / 447.2 MB, free: 4.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1507, allocations: 0 / 447.2 MB, free: 4.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1509, allocations: 43.92 kB / 447.3 MB, free: 4.316 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: 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 (3): * Single equations (assignments): 2 * 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.0007815/0.1517, allocations: 234.4 kB / 447.5 MB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.152, allocations: 202.7 kB / 447.7 MB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.152, allocations: 3.938 kB / 447.7 MB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1522, allocations: 129.1 kB / 447.8 MB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1524, allocations: 7.938 kB / 447.8 MB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.1529, allocations: 235 kB / 448.1 MB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.251e-05/0.1529, allocations: 79.33 kB / 448.2 MB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.153, allocations: 4 kB / 448.2 MB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.153, allocations: 8.5 kB / 448.2 MB, free: 3.367 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.153, allocations: 0 / 448.2 MB, free: 3.367 MB / 414.1 MB Notification: Performance of Templates: time 0.005105/0.1581, allocations: 1.559 MB / 449.7 MB, free: 1.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & ./ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.421236765105277] Failed to read output from testmodel.py, exit status != 0: 0.16752299899235368 0.184101695 0.035196722 Calling exit ...