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.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.001285/0.001285, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.00145/0.00145, allocations: 174.1 kB / 22.46 MB, free: 5.355 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.01462/0.01462, allocations: 2.276 MB / 261.4 MB, free: 14.43 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.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 1.292e-06/1.292e-06, allocations: 0 / 385.8 MB, free: 476 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.557e-05, allocations: 2.281 kB / 385.8 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003284/0.00331, allocations: 1.692 MB / 387.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.00618, allocations: 1.768 MB / 389.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.00625, allocations: 3.938 kB / 389.3 MB, free: 12.97 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.006664, allocations: 43.72 kB / 389.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005956/0.00726, allocations: 175.1 kB / 389.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.007519, allocations: 83.42 kB / 389.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.007684, allocations: 91.69 kB / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.007782, allocations: 15.92 kB / 389.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.007893, allocations: 55.84 kB / 389.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.008032, allocations: 31.89 kB / 389.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.008056, allocations: 4 kB / 389.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.008433, allocations: 227.6 kB / 390 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.008498, allocations: 23.91 kB / 390 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.008559, allocations: 23.92 kB / 390 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.009067, allocations: 303.1 kB / 390.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.009071, allocations: 0 / 390.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.009073, allocations: 0 / 390.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.009077, allocations: 0 / 390.3 MB, free: 11.92 MB / 318.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.0006758/0.009753, allocations: 412.6 kB / 390.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.009789, allocations: 12.03 kB / 390.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.00984, allocations: 8.891 kB / 390.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.01012, allocations: 133.7 kB / 390.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.01014, allocations: 12.38 kB / 390.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.01016, allocations: 4.375 kB / 390.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.01043, allocations: 129.6 kB / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01044, allocations: 7.875 kB / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.01047, allocations: 0 / 391 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.01048, allocations: 4 kB / 391 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.01065, allocations: 81.67 kB / 391.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.01106, allocations: 245.5 kB / 391.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.01137, allocations: 122.9 kB / 391.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.01151, allocations: 79.39 kB / 391.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01153, allocations: 4 kB / 391.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.0118, allocations: 176.4 kB / 391.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.0118, allocations: 0 / 391.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005785/0.01238, allocations: 290.6 kB / 392 MB, free: 10.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.01245, allocations: 106.8 kB / 392.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01261, allocations: 156.6 kB / 392.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01263, allocations: 29.7 kB / 392.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.01269, allocations: 92.14 kB / 392.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.01273, allocations: 35.8 kB / 392.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.01279, allocations: 25.72 kB / 392.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.01293, allocations: 322.8 kB / 392.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01305, allocations: 69.67 kB / 392.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01318, allocations: 83.39 kB / 392.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01341, allocations: 157.1 kB / 393.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01341, allocations: 7.875 kB / 393.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004253/0.01383, allocations: 236.9 kB / 393.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.01388, allocations: 41.69 kB / 393.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01388, allocations: 0 / 393.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.0139, allocations: 0 / 393.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.01397, allocations: 8 kB / 393.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.01397, allocations: 4 kB / 393.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.01405, allocations: 11.94 kB / 393.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01406, allocations: 4 kB / 393.4 MB, free: 8.543 MB / 318.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.0002274/0.01429, allocations: 166.8 kB / 393.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.01432, allocations: 15.95 kB / 393.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.01435, allocations: 8.781 kB / 393.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.01436, allocations: 4 kB / 393.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01436, allocations: 0 / 393.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01437, allocations: 0 / 393.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01451, allocations: 141.2 kB / 393.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.01453, allocations: 4 kB / 393.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.01458, allocations: 8 kB / 393.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01458, allocations: 0 / 393.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.0146, allocations: 4 kB / 393.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.0146, allocations: 3.984 kB / 393.7 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0146, allocations: 4 kB / 393.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.01506, allocations: 289 kB / 394 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.01508, allocations: 15.94 kB / 394 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.01512, allocations: 8 kB / 394 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.01519, allocations: 4 kB / 394 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.01523, allocations: 7.984 kB / 394 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01525, allocations: 8 kB / 394 MB, free: 7.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01536, allocations: 113.6 kB / 394.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01536, allocations: 0 / 394.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.01572, allocations: 91.67 kB / 394.2 MB, free: 7.59 MB / 318.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.001422/0.01714, allocations: 488.4 kB / 394.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.01755, allocations: 226.7 kB / 394.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01755, allocations: 0 / 394.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.01773, allocations: 145.1 kB / 395.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01799, allocations: 15.94 kB / 395.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.01864, allocations: 275.6 kB / 395.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01874, allocations: 89.44 kB / 395.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.01879, allocations: 11.94 kB / 395.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01884, allocations: 20.48 kB / 395.5 MB, free: 6.34 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01884, allocations: 4 kB / 395.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Templates: time 0.007724/0.02656, allocations: 2.889 MB / 398.4 MB, free: 3.461 MB / 318.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.404407657682896] Failed to read output from testmodel.py, exit status != 0: 0.03712521865963936 0.052132291000000004 0.039838403 Calling exit ...