Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007551/0.0007551, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001841, allocations: 449.9 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006264/0.0006264, allocations: 144.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008977/0.001524, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9762/0.9762, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08665/1.063, allocations: 52.5 MB / 238.4 MB, free: 4.359 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/0.2434, allocations: 12.55 MB / 284.5 MB, free: 11.88 MB / 282.7 MB " [Timeout remaining time 180] 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 1.375 kB / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.915e-05, allocations: 6.312 kB / 285.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001445/0.001464, allocations: 0.5393 MB / 286.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009678/0.01114, allocations: 4.661 MB / 291 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.01116, allocations: 0 / 291 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.843e-06/0.01117, allocations: 0 / 291 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.164e-06/0.01117, allocations: 5.312 kB / 291 MB, free: 6.938 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00566/0.01683, allocations: 3.059 MB / 294.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.01689, allocations: 4 kB / 294.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.01694, allocations: 7.922 kB / 294.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.01698, allocations: 0 / 294.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.483e-05/0.01701, allocations: 7.984 kB / 294.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.01702, allocations: 0 / 294.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02613/0.04315, allocations: 20.43 MB / 314.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.04318, allocations: 4 kB / 314.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.0432, allocations: 0 / 314.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03147/0.07467, allocations: 23.8 MB / 338.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.07468, allocations: 0 / 338.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07468, allocations: 0 / 338.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.07469, allocations: 0 / 338.3 MB, free: 8.66 MB / 330.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.008025/0.08272, allocations: 0.78 MB / 339.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.08276, allocations: 15.84 kB / 339.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.08279, allocations: 8.875 kB / 339.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.08284, allocations: 109.3 kB / 339.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.08285, allocations: 0 / 339.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.08286, allocations: 0 / 339.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.08293, allocations: 59.39 kB / 339.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-06/0.08294, allocations: 0 / 339.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.08294, allocations: 0 / 339.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.08295, allocations: 0 / 339.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.08296, allocations: 29.7 kB / 339.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.015e-05/0.08303, allocations: 57.05 kB / 339.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.08308, allocations: 52.25 kB / 339.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.0831, allocations: 38.56 kB / 339.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.08311, allocations: 3.938 kB / 339.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.08315, allocations: 60.25 kB / 339.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.08315, allocations: 0 / 339.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.08328, allocations: 110.8 kB / 339.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.08336, allocations: 162.1 kB / 339.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.0834, allocations: 93.86 kB / 339.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.08341, allocations: 29.83 kB / 339.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.08344, allocations: 80.14 kB / 340 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.08347, allocations: 3.953 kB / 340 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.08349, allocations: 17.72 kB / 340 MB, free: 6.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.08359, allocations: 314.8 kB / 340.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.08362, allocations: 25.7 kB / 340.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.08363, allocations: 29.7 kB / 340.4 MB, free: 6.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/0.08369, allocations: 68.23 kB / 340.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.08369, allocations: 0 / 340.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.818e-05/0.08376, allocations: 89.08 kB / 340.6 MB, free: 6.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.08381, allocations: 41.69 kB / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.08382, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.08383, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.08383, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.08383, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.08385, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.08386, allocations: 0 / 340.6 MB, free: 6.133 MB / 330.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 () * 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.102e-05/0.08394, allocations: 139.5 kB / 340.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.08395, allocations: 7.938 kB / 340.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.08397, allocations: 3 kB / 340.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.08397, allocations: 4 kB / 340.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.08397, allocations: 0 / 340.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.08398, allocations: 7.984 kB / 340.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.597e-05/0.08403, allocations: 57.91 kB / 340.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.08403, allocations: 4 kB / 340.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.08403, allocations: 0 / 340.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.08404, allocations: 4 kB / 340.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.08404, allocations: 3.938 kB / 340.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.08405, allocations: 0 / 340.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.08405, allocations: 0 / 340.8 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.08405, allocations: 7.938 kB / 340.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.08415, allocations: 116.5 kB / 340.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.08416, allocations: 3.938 kB / 340.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-06/0.08417, allocations: 0 / 340.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.08418, allocations: 4 kB / 340.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.08418, allocations: 0 / 340.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.566e-06/0.08419, allocations: 4.859 kB / 341 MB, free: 5.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08419, allocations: 0 / 341 MB, free: 5.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01042/0.09461, allocations: 3.787 MB / 344.7 MB, free: 1.91 MB / 330.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) * 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.01703/0.1116, allocations: 1.177 MB / 345.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1118, allocations: 115.7 kB / 346 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1118, allocations: 3.938 kB / 346 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.1118, allocations: 89.95 kB / 346.1 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.371e-05/0.1119, allocations: 8 kB / 346.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.1121, allocations: 111.9 kB / 346.2 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.1121, allocations: 55.36 kB / 346.3 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.092e-06/0.1121, allocations: 0 / 346.3 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.1121, allocations: 55.56 kB / 346.3 MB, free: 252 kB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1121, allocations: 0 / 346.3 MB, free: 252 kB / 330.7 MB Notification: Performance of Templates: time 0.2724/0.3846, allocations: 110.8 MB / 457.2 MB, free: 36.99 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 197.08960993029177]