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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.00113/0.001131, allocations: 113 kB / 16.42 MB, free: 6.453 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.001228/0.001228, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01235/0.01235, allocations: 2.967 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 407 MB, free: 28.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.07851, allocations: 50.33 MB / 457.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002658/0.0812, allocations: 1.5 MB / 458.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.08291, allocations: 1.261 MB / 460 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.08299, allocations: 0 / 460 MB, free: 7.625 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0002982/0.0833, allocations: 35.84 kB / 460.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.08341, allocations: 31.8 kB / 460.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.0837, allocations: 83.78 kB / 460.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.08383, allocations: 59.83 kB / 460.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.08387, allocations: 7.938 kB / 460.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.08394, allocations: 27.91 kB / 460.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.08411, allocations: 23.86 kB / 460.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.08413, allocations: 7.938 kB / 460.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.08431, allocations: 99.91 kB / 460.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.08436, allocations: 7.984 kB / 460.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.08442, allocations: 31.86 kB / 460.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.08464, allocations: 111.7 kB / 460.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.08466, allocations: 0 / 460.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08466, allocations: 0 / 460.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.08468, allocations: 0 / 460.6 MB, free: 7.105 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.0004429/0.08512, allocations: 404.7 kB / 461 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.08517, allocations: 8.031 kB / 461 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.08522, allocations: 8.891 kB / 461 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.08545, allocations: 192.2 kB / 461.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.08547, allocations: 4.375 kB / 461.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.08549, allocations: 384 / 461.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.08563, allocations: 62 kB / 461.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.08565, allocations: 3.938 kB / 461.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.08567, allocations: 7.984 kB / 461.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.08567, allocations: 0 / 461.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.08575, allocations: 27.98 kB / 461.3 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.08592, allocations: 173.6 kB / 461.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.367e-05/0.086, allocations: 50.56 kB / 461.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.08607, allocations: 40.89 kB / 461.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.08608, allocations: 4 kB / 461.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.08624, allocations: 113 kB / 461.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.08625, allocations: 0 / 461.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003285/0.08659, allocations: 179.4 kB / 461.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.08664, allocations: 81.11 kB / 461.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.08674, allocations: 129.7 kB / 462 MB, free: 5.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.08676, allocations: 33.7 kB / 462.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.0868, allocations: 84.12 kB / 462.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.08684, allocations: 20.05 kB / 462.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.08688, allocations: 21.72 kB / 462.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.08699, allocations: 318.8 kB / 462.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.08704, allocations: 27.92 kB / 462.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.08709, allocations: 27.98 kB / 462.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.08722, allocations: 128.6 kB / 462.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.08723, allocations: 0 / 462.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001998/0.08743, allocations: 163.3 kB / 462.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.08748, allocations: 41.62 kB / 462.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.08749, allocations: 0 / 462.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.08751, allocations: 0 / 462.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.08757, allocations: 4 kB / 462.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.08759, allocations: 8 kB / 462.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.08765, allocations: 3.938 kB / 462.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.08767, allocations: 4 kB / 462.9 MB, free: 4.504 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.0001013/0.08778, allocations: 160.2 kB / 463 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.08781, allocations: 11.89 kB / 463.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.08783, allocations: 8.5 kB / 463.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.08784, allocations: 7.984 kB / 463.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.08785, allocations: 0 / 463.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.08789, allocations: 81.06 kB / 463.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.08792, allocations: 4 kB / 463.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.08797, allocations: 0 / 463.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.08801, allocations: 8 kB / 463.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002835/0.0883, allocations: 314 kB / 463.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002956/0.0886, allocations: 364.3 kB / 463.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.813e-05/0.08869, allocations: 59.98 kB / 463.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.08875, allocations: 95.27 kB / 464 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Backend: time 1.653e-06/0.08876, allocations: 0 / 464 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009796/0.08974, allocations: 382.7 kB / 464.3 MB, free: 3 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004675/0.09022, allocations: 0.6695 MB / 465 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Templates: time 0.003964/0.0942, allocations: 1.488 MB / 466.5 MB, free: 0.793 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)