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.001512/0.001512, allocations: 110.1 kB / 17.09 MB, free: 5.961 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.001825/0.001825, allocations: 200.2 kB / 18.02 MB, free: 5.043 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.46/1.46, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1931/0.1931, allocations: 43.53 MB / 314.8 MB, free: 448 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.00147/0.00147, allocations: 65.62 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001813/0.1065, allocations: 0.4948 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.1095, allocations: 2.128 MB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1096, allocations: 0 / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1096, allocations: 0 / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.1096, allocations: 0 / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1117, allocations: 0.7287 MB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.1118, allocations: 4 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.1118, allocations: 3.984 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.1118, allocations: 0 / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.1118, allocations: 0 / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.1119, allocations: 8 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.1139, allocations: 1.498 MB / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-06/0.1139, allocations: 0 / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.114, allocations: 8 kB / 0.4933 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1157, allocations: 1.552 MB / 0.4948 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1157, allocations: 0 / 0.4948 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1157, allocations: 4 kB / 0.4948 GB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1157, allocations: 4 kB / 0.4948 GB, free: 5.355 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.0007833/0.1165, allocations: 413.3 kB / 0.4952 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1165, allocations: 11.89 kB / 0.4952 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1166, allocations: 0.9375 kB / 0.4952 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.345e-05/0.1167, allocations: 168.3 kB / 0.4954 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1167, allocations: 384 / 0.4954 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.1167, allocations: 4.125 kB / 0.4954 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.53e-05/0.1168, allocations: 29.7 kB / 0.4954 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1168, allocations: 4 kB / 0.4954 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1168, allocations: 3.984 kB / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1168, allocations: 0 / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.1168, allocations: 7.938 kB / 0.4954 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.1169, allocations: 145.7 kB / 0.4956 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.054e-05/0.117, allocations: 18.56 kB / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.117, allocations: 12.89 kB / 0.4956 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.117, allocations: 4 kB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.1171, allocations: 56.27 kB / 0.4957 GB, free: 4.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1171, allocations: 0 / 0.4957 GB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.1172, allocations: 67.33 kB / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1173, allocations: 81.11 kB / 0.4958 GB, free: 4.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.1173, allocations: 89.86 kB / 0.4959 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1174, allocations: 25.7 kB / 0.4959 GB, free: 4.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.1174, allocations: 84.14 kB / 0.496 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1174, allocations: 8.125 kB / 0.496 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1174, allocations: 9.719 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1176, allocations: 314.8 kB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1176, allocations: 4 kB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.1176, allocations: 0 / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.1176, allocations: 72.19 kB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1176, allocations: 0 / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.64e-05/0.1177, allocations: 67.34 kB / 0.4964 GB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.1178, allocations: 33.7 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1178, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1178, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1178, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.1178, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.1178, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1178, allocations: 4 kB / 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 7.834e-05/0.1179, allocations: 143.5 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1179, allocations: 3.969 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-06/0.1179, allocations: 11.06 kB / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.118, allocations: 4 kB / 0.4966 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.118, allocations: 0 / 0.4966 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.118, allocations: 77.11 kB / 0.4967 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.118, allocations: 4 kB / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-06/0.118, allocations: 0 / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.118, allocations: 3.984 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000106/0.1182, allocations: 202 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000122/0.1183, allocations: 236.6 kB / 0.4971 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.469e-05/0.1183, allocations: 4 kB / 0.4971 GB, free: 2.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.124e-05/0.1183, allocations: 75.28 kB / 0.4972 GB, free: 2.543 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.1183, allocations: 0 / 0.4972 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.12, allocations: 439.7 kB / 0.4976 GB, free: 2.098 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003999/0.1205, allocations: 0.5987 MB / 0.4982 GB, free: 1.438 MB / 382.1 MB Notification: Performance of Templates: time 0.01191/0.1324, allocations: 7.317 MB / 0.5054 GB, free: 10.11 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)