Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 101.3 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.0189/0.0189, allocations: 2.989 MB / 305.7 MB, free: 6.789 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 425.9 MB, free: 21.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1086, allocations: 53.07 MB / 479 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003683/0.1123, allocations: 1.685 MB / 480.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1152, allocations: 1.728 MB / 482.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.1153, allocations: 4 kB / 482.4 MB, free: 12.83 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.1157, allocations: 51.7 kB / 482.4 MB, free: 12.78 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1163, allocations: 179.2 kB / 482.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1165, allocations: 85.91 kB / 482.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1167, allocations: 87.75 kB / 482.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1168, allocations: 8 kB / 482.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.1169, allocations: 39.86 kB / 482.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.117, allocations: 43.77 kB / 482.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1171, allocations: 11.94 kB / 482.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.1175, allocations: 267.7 kB / 483.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.1176, allocations: 31.86 kB / 483.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.1176, allocations: 39.78 kB / 483.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.1182, allocations: 307 kB / 483.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.1182, allocations: 3.984 kB / 483.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1182, allocations: 0 / 483.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1182, allocations: 0 / 483.5 MB, free: 11.7 MB / 350.1 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.0007046/0.1189, allocations: 476.1 kB / 484 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1189, allocations: 11.89 kB / 484 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.119, allocations: 12.84 kB / 484 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1193, allocations: 212.2 kB / 484.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1193, allocations: 4.375 kB / 484.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1193, allocations: 8.125 kB / 484.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1196, allocations: 99.25 kB / 484.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1196, allocations: 7.938 kB / 484.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1196, allocations: 0 / 484.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1196, allocations: 0 / 484.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1198, allocations: 55.97 kB / 484.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.1203, allocations: 321.7 kB / 484.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1205, allocations: 85.28 kB / 484.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1206, allocations: 45.75 kB / 484.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1206, allocations: 7.938 kB / 484.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.1209, allocations: 134.8 kB / 485 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1209, allocations: 0 / 485 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005334/0.1214, allocations: 227.2 kB / 485.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.1215, allocations: 110.8 kB / 485.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1216, allocations: 157.8 kB / 485.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1217, allocations: 29.7 kB / 485.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.1217, allocations: 92.09 kB / 485.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1218, allocations: 27.8 kB / 485.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1218, allocations: 29.7 kB / 485.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.122, allocations: 322.8 kB / 485.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.1221, allocations: 40.05 kB / 486 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1222, allocations: 57.62 kB / 486 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.1224, allocations: 149.2 kB / 486.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1224, allocations: 3.938 kB / 486.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003177/0.1227, allocations: 191.2 kB / 486.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.1228, allocations: 37.69 kB / 486.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1228, allocations: 7.938 kB / 486.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1228, allocations: 0 / 486.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.1229, allocations: 12 kB / 486.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1229, allocations: 320 / 486.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1229, allocations: 19.86 kB / 486.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.123, allocations: 11.94 kB / 486.5 MB, free: 8.434 MB / 350.1 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 0.0001467/0.1231, allocations: 155.5 kB / 486.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1231, allocations: 15.91 kB / 486.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1232, allocations: 12.72 kB / 486.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1232, allocations: 4 kB / 486.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1232, allocations: 0 / 486.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1232, allocations: 3.938 kB / 486.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1234, allocations: 201.6 kB / 486.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1234, allocations: 0 / 486.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1234, allocations: 8 kB / 486.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1234, allocations: 0 / 486.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1235, allocations: 8 kB / 486.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.1235, allocations: 4 kB / 486.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1235, allocations: 0 / 486.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1239, allocations: 259.4 kB / 487.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.1239, allocations: 89 kB / 487.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.124, allocations: 4 kB / 487.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.124, allocations: 11.98 kB / 487.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1241, allocations: 7.938 kB / 487.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1241, allocations: 4 kB / 487.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1242, allocations: 129.9 kB / 487.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1242, allocations: 0 / 487.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1246, allocations: 95.62 kB / 487.5 MB, free: 7.328 MB / 350.1 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.001438/0.126, allocations: 475.3 kB / 487.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.1264, allocations: 159.3 kB / 488.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1264, allocations: 0 / 488.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1265, allocations: 107.3 kB / 488.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1268, allocations: 15.98 kB / 488.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.1274, allocations: 239.2 kB / 488.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.1279, allocations: 0.7049 MB / 489.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.1279, allocations: 11.98 kB / 489.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.128, allocations: 11.44 kB / 489.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.128, allocations: 0 / 489.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Templates: time 0.0076/0.1356, allocations: 3.015 MB / 492.2 MB, free: 2.664 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & ./ExternData_ExternData.Examples.XLSTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.720012496225536]