Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 88.3 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.13 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.704e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 61.92 MB / 0.4947 GB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.6318, allocations: 89.22 MB / 0.5818 GB, free: 7.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.6321, allocations: 59.97 kB / 0.5819 GB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07039/0.7025, allocations: 25.4 MB / 0.6067 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7025, allocations: 0 / 0.6067 GB, free: 13.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.7026, allocations: 0 / 0.6067 GB, free: 13.84 MB / 426.7 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.0006942/0.7033, allocations: 428 kB / 0.6071 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.7033, allocations: 16.83 kB / 0.6071 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.7034, allocations: 0 / 0.6071 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.7035, allocations: 167 kB / 0.6072 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.7035, allocations: 4 kB / 0.6072 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.7036, allocations: 3.938 kB / 0.6072 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.492e-05/0.7036, allocations: 3.984 kB / 0.6073 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/0.7037, allocations: 29.7 kB / 0.6073 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.7037, allocations: 0 / 0.6073 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7037, allocations: 0 / 0.6073 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.7037, allocations: 3.938 kB / 0.6073 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.7039, allocations: 126.2 kB / 0.6074 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.704, allocations: 22.61 kB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.704, allocations: 8.812 kB / 0.6074 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.704, allocations: 0 / 0.6074 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.7041, allocations: 64.27 kB / 0.6075 GB, free: 12.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7041, allocations: 4 kB / 0.6075 GB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002089/0.7043, allocations: 33.69 kB / 0.6075 GB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.7044, allocations: 81.05 kB / 0.6076 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.103e-05/0.7044, allocations: 85 kB / 0.6077 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.7044, allocations: 29.73 kB / 0.6077 GB, free: 12.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.7045, allocations: 80.14 kB / 0.6078 GB, free: 12.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.7045, allocations: 4 kB / 0.6078 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7045, allocations: 0 / 0.6078 GB, free: 12.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7047, allocations: 310.8 kB / 0.6081 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.7047, allocations: 0 / 0.6081 GB, free: 12.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-06/0.7047, allocations: 0 / 0.6081 GB, free: 12.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.7047, allocations: 4 kB / 0.6081 GB, free: 12.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7047, allocations: 4.062 kB / 0.6081 GB, free: 12.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.065e-05/0.7048, allocations: 41.62 kB / 0.6081 GB, free: 12.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.7049, allocations: 33.7 kB / 0.6082 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7049, allocations: 3.953 kB / 0.6082 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7049, allocations: 0 / 0.6082 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.7049, allocations: 0 / 0.6082 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.7049, allocations: 0 / 0.6082 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.7049, allocations: 4 kB / 0.6082 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.7049, allocations: 0 / 0.6082 GB, free: 12.05 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.7051, allocations: 134.7 kB / 0.6083 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.7051, allocations: 0 / 0.6083 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.7051, allocations: 7.734 kB / 0.6083 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7051, allocations: 3.953 kB / 0.6083 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7051, allocations: 0 / 0.6083 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7051, allocations: 4 kB / 0.6083 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.872e-05/0.7052, allocations: 122.2 kB / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7052, allocations: 0 / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.7052, allocations: 0 / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7052, allocations: 0 / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.7052, allocations: 0 / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7053, allocations: 4 kB / 0.6084 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7053, allocations: 7.984 kB / 0.6085 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.7054, allocations: 65.03 kB / 0.6085 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.7054, allocations: 77.11 kB / 0.6086 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.7054, allocations: 3.938 kB / 0.6086 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.7055, allocations: 7.984 kB / 0.6086 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.7055, allocations: 7.922 kB / 0.6086 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.7055, allocations: 4.031 kB / 0.6086 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.671e-05/0.7055, allocations: 79.23 kB / 0.6087 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7055, allocations: 0 / 0.6087 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007426/0.7063, allocations: 199.9 kB / 0.6089 GB, free: 11.25 MB / 426.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.7075, allocations: 379.6 kB / 0.6092 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.7076, allocations: 63.34 kB / 0.6093 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7077, allocations: 0 / 0.6093 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.7077, allocations: 51.41 kB / 0.6093 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.7078, allocations: 9.531 kB / 0.6094 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.708, allocations: 52 kB / 0.6094 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.7082, allocations: 0.669 MB / 0.6101 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.011e-06/0.7082, allocations: 0 / 0.6101 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.7083, allocations: 11.44 kB / 0.6101 GB, free: 9.957 MB / 426.7 MB Notification: Performance of SimCode: time 4.7e-07/0.7083, allocations: 0 / 0.6101 GB, free: 9.957 MB / 426.7 MB Notification: Performance of Templates: time 0.009361/0.7176, allocations: 5.021 MB / 0.615 GB, free: 4.93 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)