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.001157/0.001157, allocations: 108.3 kB / 18.4 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.001143/0.001143, allocations: 191 kB / 19.34 MB, free: 3.766 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.402/1.402, allocations: 222.9 MB / 243 MB, free: 15.09 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.216/0.216, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 64.39 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001737/0.1208, allocations: 490.8 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1228, allocations: 1.513 MB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1228, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1228, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1228, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.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.0007816/0.1236, allocations: 238.9 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.175e-05/0.1237, allocations: 0 / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.1237, allocations: 4 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.1237, allocations: 3.938 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.394e-05/0.1238, allocations: 0 / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-06/0.1238, allocations: 0 / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000838/0.1246, allocations: 0.7064 MB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.1246, allocations: 0 / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.1247, allocations: 3.938 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.1253, allocations: 0.6435 MB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1253, allocations: 4 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1253, allocations: 0 / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1253, allocations: 0 / 474.3 MB, free: 10.05 MB / 350.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.0003783/0.1257, allocations: 365.2 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1258, allocations: 8.031 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.1258, allocations: 4.875 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1259, allocations: 168.4 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1259, allocations: 384 / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1259, allocations: 384 / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.126, allocations: 45.94 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1261, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1261, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1261, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.1261, allocations: 0 / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.1263, allocations: 145.7 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/0.1263, allocations: 18.61 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.1263, allocations: 8.859 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1264, allocations: 7.984 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1264, allocations: 68.2 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.1264, allocations: 0 / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.1266, allocations: 59.41 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1266, allocations: 77.11 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.552e-05/0.1266, allocations: 89.86 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1267, allocations: 29.7 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1267, allocations: 88.25 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.1267, allocations: 0 / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1267, allocations: 13.72 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.1268, allocations: 310.8 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.1269, allocations: 0 / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.1269, allocations: 3.938 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.1269, allocations: 60.27 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1269, allocations: 0 / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.335e-05/0.127, allocations: 75.45 kB / 475.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.127, allocations: 33.64 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.127, allocations: 0 / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1271, allocations: 4 kB / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1271, allocations: 0 / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1271, allocations: 0 / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.1271, allocations: 0 / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1271, allocations: 0 / 475.9 MB, free: 8.125 MB / 350.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.103e-05/0.1272, allocations: 139.5 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.1272, allocations: 11.91 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-06/0.1272, allocations: 3.125 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1272, allocations: 0 / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1272, allocations: 3.938 kB / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1272, allocations: 3.938 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.1273, allocations: 149.7 kB / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1273, allocations: 0 / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.1273, allocations: 3.984 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1273, allocations: 3.938 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1274, allocations: 0 / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1274, allocations: 4 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1274, allocations: 4 kB / 476.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.465e-05/0.1275, allocations: 90.73 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1275, allocations: 81.09 kB / 476.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1275, allocations: 7.938 kB / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.1275, allocations: 0 / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.1276, allocations: 0 / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1276, allocations: 0 / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.1276, allocations: 79.31 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1276, allocations: 0 / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.128, allocations: 120 kB / 476.6 MB, free: 7.324 MB / 350.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.000669/0.1287, allocations: 181.7 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.1288, allocations: 55.41 kB / 476.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1288, allocations: 0 / 476.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.1288, allocations: 59.39 kB / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.1289, allocations: 0 / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.1291, allocations: 80.94 kB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1294, allocations: 0.6769 MB / 477.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.1294, allocations: 0 / 477.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.1294, allocations: 7.438 kB / 477.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1294, allocations: 3.938 kB / 477.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of Templates: time 0.006814/0.1362, allocations: 3.928 MB / 481.6 MB, free: 2.254 MB / 350.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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)