Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 109.9 kB / 18.44 MB, free: 4.699 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.00116/0.00116, allocations: 186.1 kB / 19.38 MB, free: 3.773 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.338, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001491/0.3395, allocations: 491.2 kB / 0.52 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3414, allocations: 1.527 MB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3415, allocations: 1.062 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3415, allocations: 0 / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.3415, allocations: 0 / 0.5215 GB, free: 2.203 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.3424, allocations: 227 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.3424, allocations: 6.203 kB / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.3425, allocations: 2.344 kB / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.3425, allocations: 0 / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/0.3425, allocations: 1.156 kB / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.3425, allocations: 0 / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.3435, allocations: 0.6995 MB / 0.5224 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.3436, allocations: 7.922 kB / 0.5224 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.3436, allocations: 1.25 kB / 0.5224 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.3445, allocations: 0.6471 MB / 0.5231 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3445, allocations: 0 / 0.5231 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.3445, allocations: 1.906 kB / 0.5231 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3445, allocations: 0 / 0.5231 GB, free: 1.906 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004573/0.345, allocations: 364 kB / 0.5234 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3451, allocations: 9.094 kB / 0.5234 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3451, allocations: 4.938 kB / 0.5234 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.3452, allocations: 162.8 kB / 0.5236 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3452, allocations: 384 / 0.5236 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.3452, allocations: 5.625 kB / 0.5236 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.3453, allocations: 33.64 kB / 0.5236 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3453, allocations: 0 / 0.5236 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3453, allocations: 1.719 kB / 0.5236 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3453, allocations: 4 kB / 0.5236 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.3454, allocations: 9.688 kB / 0.5236 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.3455, allocations: 144.3 kB / 0.5238 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.3455, allocations: 21.48 kB / 0.5238 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.3455, allocations: 10.73 kB / 0.5238 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.3456, allocations: 0 / 0.5238 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3456, allocations: 61.91 kB / 0.5239 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3456, allocations: 0 / 0.5239 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.3458, allocations: 65.08 kB / 0.5239 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.3458, allocations: 79.02 kB / 0.524 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.528e-05/0.3458, allocations: 93.86 kB / 0.5241 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.3459, allocations: 31.17 kB / 0.5241 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.53e-05/0.3459, allocations: 80.66 kB / 0.5242 GB, free: 0.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3459, allocations: 3.938 kB / 0.5242 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.3459, allocations: 12.83 kB / 0.5242 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.346, allocations: 312.9 kB / 0.5245 GB, free: 256 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.346, allocations: 0 / 0.5245 GB, free: 256 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.346, allocations: 2.172 kB / 0.5245 GB, free: 256 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.3461, allocations: 68.59 kB / 0.5246 GB, free: 176 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3461, allocations: 0 / 0.5246 GB, free: 176 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.451e-05/0.3461, allocations: 64.36 kB / 0.5246 GB, free: 108 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.3462, allocations: 32.34 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3462, allocations: 3.938 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3462, allocations: 0 / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-06/0.3462, allocations: 1.688 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3462, allocations: 0 / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.3462, allocations: 2.5 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3463, allocations: 0 / 0.5247 GB, free: 72 kB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001043/0.3464, allocations: 138.7 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.3464, allocations: 5.672 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.3464, allocations: 7.766 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3464, allocations: 0.7031 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3464, allocations: 0 / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.3465, allocations: 83.38 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3465, allocations: 0.7031 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.3465, allocations: 1.031 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.3465, allocations: 2.125 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001351/0.3467, allocations: 200.5 kB / 0.5251 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001493/0.3468, allocations: 239 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.195e-05/0.3468, allocations: 6.578 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.002e-05/0.3469, allocations: 75.28 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.3469, allocations: 0 / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.348, allocations: 220.7 kB / 0.5256 GB, free: 15.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003968/0.3484, allocations: 0.5768 MB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Templates: time 0.007658/0.356, allocations: 3.937 MB / 0.53 GB, free: 12.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)