Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.4 kB / 17.09 MB, free: 5.992 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.001778/0.001779, allocations: 195.3 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1998/0.1998, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1004, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001569/0.102, allocations: 0.4911 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1049, allocations: 2.136 MB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.1049, allocations: 0 / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.1049, allocations: 0 / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1049, allocations: 0 / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.1069, allocations: 0.7248 MB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.107, allocations: 0 / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.107, allocations: 4 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.107, allocations: 0 / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.765e-05/0.1071, allocations: 0 / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.1071, allocations: 4 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.1092, allocations: 1.506 MB / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.1092, allocations: 0 / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.1092, allocations: 0 / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.111, allocations: 1.555 MB / 0.4948 GB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.111, allocations: 0 / 0.4948 GB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.111, allocations: 4 kB / 0.4948 GB, free: 5.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.111, allocations: 0 / 0.4948 GB, free: 5.363 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.0006731/0.1117, allocations: 423.9 kB / 0.4952 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1117, allocations: 11.89 kB / 0.4952 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1117, allocations: 0.9375 kB / 0.4952 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.257e-05/0.1118, allocations: 160.4 kB / 0.4954 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1119, allocations: 8.312 kB / 0.4954 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1119, allocations: 8.125 kB / 0.4954 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.112, allocations: 25.7 kB / 0.4954 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.112, allocations: 4 kB / 0.4954 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.112, allocations: 4 kB / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.112, allocations: 0 / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.112, allocations: 7.922 kB / 0.4954 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1121, allocations: 145.7 kB / 0.4956 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.1122, allocations: 18.61 kB / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.1122, allocations: 8.797 kB / 0.4956 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.1122, allocations: 0 / 0.4956 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1123, allocations: 64.33 kB / 0.4957 GB, free: 4.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1123, allocations: 0 / 0.4957 GB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001543/0.1124, allocations: 67.33 kB / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1125, allocations: 81.11 kB / 0.4958 GB, free: 4.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.1125, allocations: 89.86 kB / 0.4959 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1125, allocations: 25.7 kB / 0.4959 GB, free: 4.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1126, allocations: 84.14 kB / 0.496 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1126, allocations: 4.125 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1126, allocations: 13.72 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1127, allocations: 318.8 kB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1128, allocations: 4 kB / 0.4963 GB, free: 3.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.1128, allocations: 0 / 0.4963 GB, free: 3.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.1128, allocations: 60.27 kB / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1128, allocations: 0 / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.683e-05/0.1129, allocations: 71.28 kB / 0.4964 GB, free: 3.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.1129, allocations: 37.72 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.113, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.113, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.113, allocations: 4 kB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.113, allocations: 0 / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.113, allocations: 0 / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.113, allocations: 0 / 0.4965 GB, free: 3.379 MB / 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.068e-05/0.1131, allocations: 143.5 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1131, allocations: 3.938 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.1131, allocations: 11.11 kB / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1131, allocations: 3.938 kB / 0.4966 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1131, allocations: 3.984 kB / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.1132, allocations: 77.11 kB / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1132, allocations: 4 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1132, allocations: 0 / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/0.1132, allocations: 0 / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001199/0.1134, allocations: 202 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.1135, allocations: 240.6 kB / 0.4971 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.695e-05/0.1135, allocations: 3.984 kB / 0.4971 GB, free: 2.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.1136, allocations: 75.28 kB / 0.4972 GB, free: 2.539 MB / 382.1 MB Notification: Performance of Backend: time 2.81e-07/0.1136, allocations: 0 / 0.4972 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.1154, allocations: 454.9 kB / 0.4977 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003321/0.1158, allocations: 0.5755 MB / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01283/0.1286, allocations: 7.313 MB / 0.5054 GB, free: 10.12 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)