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.001717/0.001717, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001969/0.001969, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.017/0.017, allocations: 2.254 MB / 261.8 MB, free: 10.8 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.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 2.335e-06/2.335e-06, allocations: 0 / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.932e-05/4.166e-05, allocations: 4.984 kB / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003302/0.003344, allocations: 1.682 MB / 333.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.006081, allocations: 1.773 MB / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.006207, allocations: 7.938 kB / 335.5 MB, free: 13.29 MB / 266.7 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.0005239/0.006731, allocations: 43.66 kB / 335.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.007372, allocations: 175.1 kB / 335.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.007685, allocations: 87.77 kB / 335.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.007847, allocations: 91.69 kB / 335.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.007945, allocations: 15.94 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.00805, allocations: 51.89 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.008216, allocations: 27.91 kB / 336 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.008239, allocations: 8 kB / 336 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.01038, allocations: 413.1 kB / 336.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.01047, allocations: 31.91 kB / 336.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.01056, allocations: 23.92 kB / 336.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.01115, allocations: 295.2 kB / 336.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.01116, allocations: 0 / 336.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01116, allocations: 0 / 336.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.01117, allocations: 0 / 336.8 MB, free: 12.16 MB / 266.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.0007747/0.01194, allocations: 410.9 kB / 337.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.01199, allocations: 8.031 kB / 337.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.01207, allocations: 16.89 kB / 337.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.0123, allocations: 145.5 kB / 337.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.01231, allocations: 8.375 kB / 337.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.01233, allocations: 4.375 kB / 337.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.01258, allocations: 129.6 kB / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.0126, allocations: 3.938 kB / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.01261, allocations: 0 / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.01262, allocations: 0 / 337.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.01277, allocations: 93.59 kB / 337.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.01315, allocations: 233.5 kB / 337.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.01342, allocations: 126.9 kB / 337.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.01352, allocations: 79.44 kB / 338 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.01355, allocations: 0 / 338 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.01375, allocations: 176.4 kB / 338.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.01376, allocations: 0 / 338.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005014/0.01426, allocations: 302.7 kB / 338.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.01431, allocations: 114.8 kB / 338.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.01442, allocations: 137.8 kB / 338.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.01444, allocations: 33.7 kB / 338.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.01449, allocations: 96.12 kB / 338.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.01452, allocations: 23.75 kB / 338.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.01458, allocations: 29.7 kB / 338.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.01464, allocations: 322.8 kB / 339.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.01473, allocations: 65.69 kB / 339.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.01482, allocations: 87.33 kB / 339.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01499, allocations: 156.9 kB / 339.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01499, allocations: 4 kB / 339.5 MB, free: 9.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003306/0.01532, allocations: 236.9 kB / 339.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.01536, allocations: 40.66 kB / 339.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01537, allocations: 0 / 339.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.0154, allocations: 0 / 339.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.01547, allocations: 11.98 kB / 339.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01548, allocations: 4 kB / 339.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.01556, allocations: 11.95 kB / 339.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01557, allocations: 4 kB / 339.8 MB, free: 8.785 MB / 266.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 0.0001087/0.01568, allocations: 162.1 kB / 340 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.01573, allocations: 27.89 kB / 340 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.01576, allocations: 8.766 kB / 340 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01576, allocations: 7.938 kB / 340 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01577, allocations: 0 / 340 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01578, allocations: 336 / 340 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.0159, allocations: 145.1 kB / 340.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0159, allocations: 0 / 340.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.01596, allocations: 15.98 kB / 340.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01596, allocations: 0 / 340.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01598, allocations: 11.98 kB / 340.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01598, allocations: 0 / 340.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01598, allocations: 4 kB / 340.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.01636, allocations: 285.5 kB / 340.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.01639, allocations: 7.953 kB / 340.5 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.01642, allocations: 4 kB / 340.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.01648, allocations: 11.98 kB / 340.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.01654, allocations: 4 kB / 340.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.01656, allocations: 7.984 kB / 340.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.01663, allocations: 111.3 kB / 340.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01663, allocations: 0 / 340.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000375/0.017, allocations: 95.61 kB / 340.7 MB, free: 7.812 MB / 266.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.001637/0.01864, allocations: 475.5 kB / 341.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.01911, allocations: 226.7 kB / 341.4 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01911, allocations: 4 kB / 341.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.01926, allocations: 145.1 kB / 341.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.0196, allocations: 15.94 kB / 341.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.02021, allocations: 292.7 kB / 341.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.02028, allocations: 89.38 kB / 341.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.02034, allocations: 8 kB / 341.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.02039, allocations: 16.48 kB / 341.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02039, allocations: 4 kB / 341.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of Templates: time 0.007377/0.02777, allocations: 2.927 MB / 344.9 MB, free: 3.652 MB / 266.7 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: 5.152441681013443]