Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 213.5 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.25 MB / 330.3 MB, free: 9.414 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004044/0.004044, allocations: 76.41 kB / 468 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1797, allocations: 61.05 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00222/0.1819, allocations: 0.491 MB / 0.5171 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1845, allocations: 1.516 MB / 0.5186 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1846, allocations: 0 / 0.5186 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1846, allocations: 0 / 0.5186 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.1846, allocations: 0 / 0.5186 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1858, allocations: 255.3 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.1858, allocations: 4 kB / 0.5188 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.1859, allocations: 0 / 0.5188 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.1859, allocations: 8 kB / 0.5188 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.1859, allocations: 3.984 kB / 0.5188 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-06/0.1859, allocations: 0 / 0.5188 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1872, allocations: 0.6752 MB / 0.5195 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1872, allocations: 11.91 kB / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1872, allocations: 0 / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1883, allocations: 0.6161 MB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1883, allocations: 3.984 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1883, allocations: 0 / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1883, allocations: 0 / 0.5201 GB, free: 3.109 MB / 398.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.0005697/0.1889, allocations: 287.9 kB / 0.5204 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1889, allocations: 12.03 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1889, allocations: 0.9375 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.189, allocations: 106.5 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1891, allocations: 384 / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1891, allocations: 4.375 kB / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1892, allocations: 59.72 kB / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1892, allocations: 0 / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1892, allocations: 0 / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1892, allocations: 3.984 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.1892, allocations: 29.7 kB / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1894, allocations: 101.3 kB / 0.5207 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.1895, allocations: 52.19 kB / 0.5207 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.1895, allocations: 34.56 kB / 0.5208 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1895, allocations: 64 / 0.5208 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1896, allocations: 60.27 kB / 0.5208 GB, free: 2.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1896, allocations: 0 / 0.5208 GB, free: 2.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002359/0.1898, allocations: 118.7 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1899, allocations: 81.11 kB / 0.521 GB, free: 1.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.1899, allocations: 89.86 kB / 0.5211 GB, free: 1.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1899, allocations: 29.83 kB / 0.5211 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.19, allocations: 88.08 kB / 0.5212 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.19, allocations: 3.984 kB / 0.5212 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.19, allocations: 9.719 kB / 0.5212 GB, free: 1.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1902, allocations: 314.8 kB / 0.5215 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.1902, allocations: 25.7 kB / 0.5216 GB, free: 1.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.1902, allocations: 25.7 kB / 0.5216 GB, free: 1.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.1903, allocations: 64.27 kB / 0.5217 GB, free: 1.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1903, allocations: 0 / 0.5217 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001146/0.1904, allocations: 89.16 kB / 0.5217 GB, free: 1.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.1905, allocations: 35.61 kB / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1905, allocations: 0 / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1905, allocations: 7.938 kB / 0.5218 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1905, allocations: 0 / 0.5218 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1905, allocations: 3.938 kB / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.1905, allocations: 0 / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1905, allocations: 3.984 kB / 0.5218 GB, free: 1.129 MB / 398.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 0.0001285/0.1906, allocations: 143.5 kB / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1907, allocations: 0 / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.1907, allocations: 10.94 kB / 0.5219 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1907, allocations: 4 kB / 0.5219 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1907, allocations: 0 / 0.5219 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1907, allocations: 4 kB / 0.5219 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.59e-05/0.1908, allocations: 97.27 kB / 0.522 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1908, allocations: 0 / 0.522 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.1908, allocations: 3.984 kB / 0.522 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1908, allocations: 0 / 0.522 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1908, allocations: 4 kB / 0.522 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1908, allocations: 7.875 kB / 0.522 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1908, allocations: 0 / 0.522 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1909, allocations: 120.5 kB / 0.5222 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-06/0.1909, allocations: 0 / 0.5222 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1909, allocations: 0 / 0.5222 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.191, allocations: 11.81 kB / 0.5222 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.191, allocations: 8 kB / 0.5222 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.191, allocations: 0 / 0.5222 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.191, allocations: 75.28 kB / 0.5223 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.191, allocations: 0 / 0.5223 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.1915, allocations: 119.9 kB / 0.5224 GB, free: 468 kB / 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.0008819/0.1924, allocations: 175 kB / 0.5225 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1926, allocations: 118.8 kB / 0.5226 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1926, allocations: 0 / 0.5226 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.1926, allocations: 81.11 kB / 0.5227 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1928, allocations: 5.062 kB / 0.5227 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.193, allocations: 114.5 kB / 0.5228 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.1931, allocations: 59.34 kB / 0.5229 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.941e-06/0.1931, allocations: 0 / 0.5229 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.1931, allocations: 7.438 kB / 0.5229 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1931, allocations: 0 / 0.5229 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Templates: time 0.008777/0.2019, allocations: 3.912 MB / 0.5267 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.592292523011565] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.21363880299031734 0.43270650299999996 0.240976136 Calling exit ...