Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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.001205/0.001205, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001285/0.001285, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.01123/0.01123, allocations: 2.255 MB / 263.3 MB, free: 10.65 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.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 3.984 kB / 334 MB, free: 1.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.053e-05, allocations: 2.312 kB / 334 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002482/0.002513, allocations: 1.551 MB / 335.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.004283, allocations: 1.398 MB / 337 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.004341, allocations: 0 / 337 MB, free: 14.12 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.004648, allocations: 35.78 kB / 337 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.004755, allocations: 35.78 kB / 337 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.004991, allocations: 75.8 kB / 337.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.005105, allocations: 67.77 kB / 337.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.005144, allocations: 4 kB / 337.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.005218, allocations: 27.97 kB / 337.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005319, allocations: 19.92 kB / 337.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005336, allocations: 4 kB / 337.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.005489, allocations: 95.78 kB / 337.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.005542, allocations: 19.92 kB / 337.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.005578, allocations: 15.94 kB / 337.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005785, allocations: 115.7 kB / 337.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005788, allocations: 4 kB / 337.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.005789, allocations: 3.984 kB / 337.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005793, allocations: 0 / 337.5 MB, free: 13.61 MB / 314.7 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.0005538/0.006347, allocations: 430 kB / 337.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.00638, allocations: 8.031 kB / 337.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.006417, allocations: 8.891 kB / 337.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.006563, allocations: 128.5 kB / 338 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.006575, allocations: 8.375 kB / 338 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.006583, allocations: 384 / 338 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.00668, allocations: 79.94 kB / 338.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.006687, allocations: 4.188 kB / 338.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.006697, allocations: 384 / 338.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006703, allocations: 3.938 kB / 338.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.006745, allocations: 41.69 kB / 338.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.006867, allocations: 113.2 kB / 338.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.006924, allocations: 60.7 kB / 338.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.006967, allocations: 53.42 kB / 338.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.006972, allocations: 0 / 338.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.007087, allocations: 128.4 kB / 338.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.007088, allocations: 0 / 338.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002571/0.007345, allocations: 206.7 kB / 338.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.007388, allocations: 81.11 kB / 338.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.007479, allocations: 177.8 kB / 339 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.007493, allocations: 29.69 kB / 339 MB, free: 11.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.007536, allocations: 130.9 kB / 339.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.007568, allocations: 23.8 kB / 339.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.007615, allocations: 31.34 kB / 339.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.007744, allocations: 496.1 kB / 339.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.007781, allocations: 41.69 kB / 339.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.007813, allocations: 41.69 kB / 339.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.007896, allocations: 99.02 kB / 339.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007898, allocations: 4 kB / 339.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001668/0.008065, allocations: 157.6 kB / 340 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.008098, allocations: 40.34 kB / 340 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008102, allocations: 0 / 340 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.008112, allocations: 3.984 kB / 340 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.008169, allocations: 4 kB / 340.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.008176, allocations: 7.875 kB / 340.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.008226, allocations: 8 kB / 340.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.008237, allocations: 4 kB / 340.1 MB, free: 10.7 MB / 314.7 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.0001144/0.008351, allocations: 190.3 kB / 340.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.008375, allocations: 19.95 kB / 340.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.008395, allocations: 4.438 kB / 340.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008397, allocations: 0 / 340.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.008401, allocations: 3.984 kB / 340.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.008405, allocations: 3.938 kB / 340.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.008517, allocations: 117.2 kB / 340.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008518, allocations: 0 / 340.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.008536, allocations: 4 kB / 340.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008538, allocations: 0 / 340.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.008552, allocations: 4 kB / 340.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.008552, allocations: 0 / 340.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008553, allocations: 4 kB / 340.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.008757, allocations: 223.6 kB / 340.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.008766, allocations: 4 kB / 340.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.008787, allocations: 11.94 kB / 340.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/0.008817, allocations: 4 kB / 340.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.008842, allocations: 3.984 kB / 340.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.008853, allocations: 4 kB / 340.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.008903, allocations: 135.1 kB / 340.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008903, allocations: 0 / 340.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.009138, allocations: 43.89 kB / 340.8 MB, free: 9.859 MB / 314.7 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.001036/0.01017, allocations: 293.5 kB / 341.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.01035, allocations: 178.4 kB / 341.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01035, allocations: 0 / 341.3 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.01043, allocations: 120.8 kB / 341.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01061, allocations: 8 kB / 341.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.01091, allocations: 196.3 kB / 341.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.01095, allocations: 65.09 kB / 341.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.01097, allocations: 4 kB / 341.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.01106, allocations: 98.19 kB / 341.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01106, allocations: 0 / 341.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of Templates: time 0.003832/0.01489, allocations: 1.709 MB / 343.5 MB, free: 7.164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8197848689742386]