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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 114 kB / 16.42 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 183.9 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01273/0.01273, allocations: 2.963 MB / 294.2 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 406.9 MB, free: 28.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06752/0.06869, allocations: 50.33 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.00243/0.07115, allocations: 1.5 MB / 458.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.07271, allocations: 1.269 MB / 460 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.07277, allocations: 0 / 460 MB, free: 7.594 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:141:3-163:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.07304, allocations: 27.86 kB / 460.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.07314, allocations: 39.72 kB / 460.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.0734, allocations: 79.72 kB / 460.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.07351, allocations: 55.91 kB / 460.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.07355, allocations: 7.938 kB / 460.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.07362, allocations: 31.86 kB / 460.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.07378, allocations: 23.91 kB / 460.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.0738, allocations: 7.938 kB / 460.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.07397, allocations: 103.8 kB / 460.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.07402, allocations: 12 kB / 460.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.07408, allocations: 23.84 kB / 460.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.07428, allocations: 111.8 kB / 460.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.07429, allocations: 0 / 460.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0743, allocations: 0 / 460.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.07431, allocations: 0 / 460.6 MB, free: 7.078 MB / 334.1 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.0004268/0.07474, allocations: 405 kB / 461 MB, free: 6.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.07478, allocations: 8.031 kB / 461 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.07483, allocations: 8.844 kB / 461 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.07502, allocations: 180.3 kB / 461.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.07504, allocations: 384 / 461.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.07506, allocations: 8.375 kB / 461.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.07519, allocations: 57.98 kB / 461.2 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.07521, allocations: 11.92 kB / 461.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.07522, allocations: 4 kB / 461.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.07523, allocations: 0 / 461.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.0753, allocations: 31.98 kB / 461.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.07547, allocations: 177.5 kB / 461.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.07555, allocations: 54.5 kB / 461.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.07562, allocations: 44.89 kB / 461.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.07564, allocations: 0 / 461.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.07578, allocations: 109 kB / 461.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.07579, allocations: 0 / 461.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003195/0.07612, allocations: 187.3 kB / 461.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.07617, allocations: 81.09 kB / 461.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.07627, allocations: 125.7 kB / 462 MB, free: 5.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.07629, allocations: 29.7 kB / 462 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.07633, allocations: 84.14 kB / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.07636, allocations: 23.73 kB / 462.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.07641, allocations: 21.72 kB / 462.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.07651, allocations: 318.8 kB / 462.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.07657, allocations: 24 kB / 462.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.07661, allocations: 31.98 kB / 462.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.07674, allocations: 112.7 kB / 462.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.07675, allocations: 7.984 kB / 462.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001971/0.07695, allocations: 163.2 kB / 462.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.077, allocations: 37.64 kB / 462.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.07701, allocations: 0 / 462.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.07703, allocations: 11.98 kB / 462.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.07709, allocations: 4 kB / 462.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.0771, allocations: 0 / 462.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.07716, allocations: 7.906 kB / 462.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.07718, allocations: 0 / 462.9 MB, free: 4.48 MB / 334.1 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.0001025/0.07729, allocations: 160.3 kB / 463 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.07731, allocations: 7.938 kB / 463 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.07734, allocations: 12.38 kB / 463.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.07735, allocations: 0 / 463.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.07736, allocations: 4 kB / 463.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.0774, allocations: 85 kB / 463.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.07743, allocations: 8 kB / 463.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.07748, allocations: 4 kB / 463.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.07751, allocations: 0 / 463.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002832/0.0778, allocations: 314 kB / 463.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.07811, allocations: 360.2 kB / 463.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.598e-05/0.07819, allocations: 63.98 kB / 463.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.07826, allocations: 99.27 kB / 464 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.07826, allocations: 0 / 464 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009564/0.07923, allocations: 373.8 kB / 464.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004717/0.07971, allocations: 0.6578 MB / 465 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Templates: time 0.003839/0.08356, allocations: 1.498 MB / 466.5 MB, free: 0.7852 MB / 334.1 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile (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)