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.0008231/0.0008231, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008048/0.0008048, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.8466/0.8466, allocations: 177.1 MB / 203.5 MB, free: 5.625 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.00842/0.00842, allocations: 2.252 MB / 262.2 MB, free: 10.99 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 1.122e-06/1.122e-06, allocations: 0 / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.625e-05, allocations: 2.281 kB / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001986/0.002002, allocations: 1.512 MB / 388.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003102, allocations: 1.352 MB / 389.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.003146, allocations: 0 / 389.4 MB, free: 9.027 MB / 362.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.0002722/0.003418, allocations: 39.78 kB / 389.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.476e-05/0.003513, allocations: 23.86 kB / 389.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.003701, allocations: 83.72 kB / 389.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.437e-05/0.003795, allocations: 59.78 kB / 389.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.003828, allocations: 4 kB / 389.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.003895, allocations: 35.91 kB / 389.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.003996, allocations: 11.98 kB / 389.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004011, allocations: 7.938 kB / 389.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.004127, allocations: 103.7 kB / 389.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.004177, allocations: 15.97 kB / 389.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.004213, allocations: 15.94 kB / 389.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004387, allocations: 123.7 kB / 389.9 MB, free: 8.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00439, allocations: 4 kB / 389.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00439, allocations: 7.938 kB / 389.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.004394, allocations: 0 / 389.9 MB, free: 8.5 MB / 362.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.0003656/0.00476, allocations: 327.7 kB / 390.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.004792, allocations: 12.03 kB / 390.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.004827, allocations: 8.891 kB / 390.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.004972, allocations: 129.7 kB / 390.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.00498, allocations: 384 / 390.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.004991, allocations: 4.375 kB / 390.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005105, allocations: 87.94 kB / 390.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.005112, allocations: 192 / 390.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.00512, allocations: 4.375 kB / 390.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005126, allocations: 3.938 kB / 390.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.005184, allocations: 65.69 kB / 390.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.005291, allocations: 113.3 kB / 390.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.005352, allocations: 72.2 kB / 390.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.005405, allocations: 66.59 kB / 390.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.005414, allocations: 0 / 390.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.005533, allocations: 138.8 kB / 391 MB, free: 7.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.005533, allocations: 0 / 391 MB, free: 7.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002561/0.005789, allocations: 258.8 kB / 391.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.005825, allocations: 96.97 kB / 391.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.005889, allocations: 117.8 kB / 391.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.0059, allocations: 25.7 kB / 391.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.005928, allocations: 88.14 kB / 391.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.005956, allocations: 27.78 kB / 391.6 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.005985, allocations: 17.72 kB / 391.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.006053, allocations: 318.8 kB / 391.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.006096, allocations: 62.06 kB / 391.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.006132, allocations: 57.62 kB / 392 MB, free: 6.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.006212, allocations: 124.2 kB / 392.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006214, allocations: 4 kB / 392.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001422/0.006356, allocations: 200.9 kB / 392.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.006381, allocations: 37.7 kB / 392.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006386, allocations: 0 / 392.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.006394, allocations: 0 / 392.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.006447, allocations: 11.92 kB / 392.4 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.006454, allocations: 8.234 kB / 392.4 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.006494, allocations: 3.953 kB / 392.4 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006501, allocations: 4 kB / 392.4 MB, free: 5.77 MB / 362.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 7.281e-05/0.006574, allocations: 155.5 kB / 392.5 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.006584, allocations: 12.09 kB / 392.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.006601, allocations: 12.42 kB / 392.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006603, allocations: 4 kB / 392.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006607, allocations: 3.938 kB / 392.6 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006609, allocations: 0 / 392.6 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.006674, allocations: 117.3 kB / 392.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006674, allocations: 0 / 392.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-06/0.006683, allocations: 0 / 392.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006684, allocations: 4 kB / 392.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.006691, allocations: 0 / 392.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.006692, allocations: 0 / 392.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.006694, allocations: 15.91 kB / 392.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.006867, allocations: 248.4 kB / 392.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.006876, allocations: 7.938 kB / 393 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.006891, allocations: 4 kB / 393 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.006915, allocations: 8.078 kB / 393 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.006943, allocations: 15.81 kB / 393 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.006953, allocations: 4 kB / 393 MB, free: 5.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.006988, allocations: 95.27 kB / 393.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006988, allocations: 0 / 393.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.007139, allocations: 39.94 kB / 393.1 MB, free: 4.957 MB / 362.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.0004669/0.007606, allocations: 269 kB / 393.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.007772, allocations: 202.8 kB / 393.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007773, allocations: 0 / 393.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.007836, allocations: 129 kB / 393.7 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.007967, allocations: 12 kB / 393.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.008242, allocations: 232.1 kB / 393.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.00828, allocations: 71.2 kB / 394 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.008298, allocations: 8.5 kB / 394 MB, free: 4.008 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008299, allocations: 8 kB / 394 MB, free: 4 MB / 362.7 MB Notification: Performance of Templates: time 0.002306/0.0106, allocations: 1.5 MB / 395.5 MB, free: 2.508 MB / 362.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=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.325661621056497] Failed to read output from testmodel.py, exit status != 0: 0.014615396969020367 0.022097833 0.016129463 Calling exit ...