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.001336/0.001335, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001359/0.00136, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.307/1.307, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1932/0.1932, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3108, allocations: 60.82 MB / 0.5195 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001519/0.3124, allocations: 0.5035 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3141, allocations: 1.507 MB / 0.5215 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.3142, allocations: 5 kB / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.3142, allocations: 0 / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-06/0.3142, allocations: 0 / 0.5215 GB, free: 2.211 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.0008667/0.3151, allocations: 227.1 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.28e-05/0.3151, allocations: 1.281 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.3152, allocations: 6.938 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.3152, allocations: 0 / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.391e-05/0.3152, allocations: 5.156 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.3152, allocations: 0 / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3164, allocations: 0.7069 MB / 0.5224 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.3164, allocations: 1.094 kB / 0.5224 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.3164, allocations: 4 kB / 0.5224 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3175, allocations: 0.6395 MB / 0.5231 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3175, allocations: 0 / 0.5231 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3175, allocations: 0 / 0.5231 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3175, allocations: 1.984 kB / 0.5231 GB, free: 1.91 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.000588/0.3181, allocations: 363.5 kB / 0.5234 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3181, allocations: 10.34 kB / 0.5234 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3182, allocations: 1.547 kB / 0.5234 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.685e-05/0.3182, allocations: 165.5 kB / 0.5236 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3182, allocations: 1.531 kB / 0.5236 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3182, allocations: 1.5 kB / 0.5236 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.125e-05/0.3183, allocations: 33.55 kB / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3183, allocations: 0 / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3183, allocations: 0 / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3183, allocations: 5.703 kB / 0.5236 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.3184, allocations: 5.031 kB / 0.5236 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.879e-05/0.3185, allocations: 152.6 kB / 0.5238 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.073e-05/0.3185, allocations: 17.52 kB / 0.5238 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.052e-05/0.3185, allocations: 5.891 kB / 0.5238 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3185, allocations: 1 kB / 0.5238 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3185, allocations: 62.53 kB / 0.5238 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3186, allocations: 0 / 0.5238 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.3187, allocations: 68.5 kB / 0.5239 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3187, allocations: 83.12 kB / 0.524 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.749e-05/0.3187, allocations: 89.86 kB / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.3188, allocations: 26.8 kB / 0.5241 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-06/0.3188, allocations: 80.84 kB / 0.5242 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3188, allocations: 1.156 kB / 0.5242 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.3188, allocations: 11.45 kB / 0.5242 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.3189, allocations: 312.6 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-06/0.3189, allocations: 1.156 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.3189, allocations: 5.812 kB / 0.5245 GB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.3189, allocations: 63.33 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3189, allocations: 0.6562 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.297e-05/0.319, allocations: 64.06 kB / 0.5246 GB, free: 124 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.319, allocations: 36.06 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.319, allocations: 5.438 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3191, allocations: 0 / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3191, allocations: 0 / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3191, allocations: 1.906 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.3191, allocations: 4.094 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3191, allocations: 1.75 kB / 0.5247 GB, free: 80 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 8.303e-05/0.3192, allocations: 138.5 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.3192, allocations: 5.406 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-06/0.3192, allocations: 3.641 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3192, allocations: 0.6094 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3192, allocations: 1.656 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3192, allocations: 3.984 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.888e-05/0.3193, allocations: 149.6 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3193, allocations: 0 / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-06/0.3193, allocations: 7.938 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3193, allocations: 5.281 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3194, allocations: 0.8438 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3194, allocations: 1.406 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3194, allocations: 0 / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.3195, allocations: 96.66 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.3195, allocations: 81.84 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3195, allocations: 5.5 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.3195, allocations: 2.75 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.3195, allocations: 0 / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3196, allocations: 0 / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.3196, allocations: 77.16 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006804/0.3203, allocations: 122.8 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007142/0.321, allocations: 174.3 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.3211, allocations: 66.09 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3211, allocations: 3.938 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.3212, allocations: 60.42 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.3213, allocations: 1.781 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.3215, allocations: 103.7 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3217, allocations: 0.6735 MB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.3217, allocations: 9.25 kB / 0.5264 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3217, allocations: 0 / 0.5264 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Templates: time 0.004728/0.3264, allocations: 2.701 MB / 0.529 GB, free: 13.21 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)