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.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.001725/0.001725, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002097/0.002097, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2387/0.2387, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00214/0.00214, allocations: 63.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 65.48 MB / 0.5574 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001599/0.3327, allocations: 499.1 kB / 0.5579 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.335, allocations: 1.509 MB / 0.5594 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.335, allocations: 0 / 0.5594 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.335, allocations: 0 / 0.5594 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.335, allocations: 0 / 0.5594 GB, free: 5.332 MB / 398.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.0009183/0.3359, allocations: 255.3 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.3359, allocations: 0 / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.336, allocations: 4 kB / 0.5596 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.336, allocations: 3.938 kB / 0.5596 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.336, allocations: 11.92 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.336, allocations: 0 / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.337, allocations: 0.6868 MB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-06/0.3371, allocations: 0 / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.3371, allocations: 0 / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.3378, allocations: 0.6146 MB / 0.5609 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3378, allocations: 4 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3378, allocations: 0 / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3378, allocations: 0 / 0.5609 GB, free: 3.762 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.0003997/0.3382, allocations: 291.9 kB / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3383, allocations: 11.97 kB / 0.5612 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3383, allocations: 8.875 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.3384, allocations: 106.5 kB / 0.5613 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3384, allocations: 8.375 kB / 0.5613 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3384, allocations: 384 / 0.5613 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.3385, allocations: 59.72 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3385, allocations: 0 / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.3385, allocations: 0 / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3385, allocations: 0 / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.3385, allocations: 29.7 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.3387, allocations: 97.33 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.3387, allocations: 52.2 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.3387, allocations: 34.66 kB / 0.5616 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-06/0.3388, allocations: 0 / 0.5616 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.3388, allocations: 60.27 kB / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3388, allocations: 0 / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000232/0.339, allocations: 118.7 kB / 0.5618 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3391, allocations: 85.05 kB / 0.5618 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.3392, allocations: 93.81 kB / 0.5619 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3392, allocations: 29.7 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3392, allocations: 80.14 kB / 0.562 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.3392, allocations: 4.125 kB / 0.562 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.3393, allocations: 13.72 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3394, allocations: 310.8 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.3395, allocations: 29.69 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.3395, allocations: 29.7 kB / 0.5624 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.3395, allocations: 60.27 kB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3395, allocations: 4 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.212e-05/0.3396, allocations: 81.11 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.3397, allocations: 37.69 kB / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3397, allocations: 8.031 kB / 0.5626 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3397, allocations: 3.938 kB / 0.5626 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3397, allocations: 3.938 kB / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3397, allocations: 0 / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.3397, allocations: 0 / 0.5626 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3397, allocations: 4 kB / 0.5626 GB, free: 1.766 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 8.857e-05/0.3398, allocations: 135.5 kB / 0.5627 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.3398, allocations: 3.938 kB / 0.5627 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.3398, allocations: 10.94 kB / 0.5627 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3398, allocations: 3.984 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3398, allocations: 4 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3398, allocations: 0 / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3399, allocations: 93.33 kB / 0.5628 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3399, allocations: 0 / 0.5628 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-06/0.34, allocations: 4 kB / 0.5628 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.34, allocations: 0 / 0.5628 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.34, allocations: 3.984 kB / 0.5629 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.34, allocations: 3.938 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.34, allocations: 0 / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3401, allocations: 120.5 kB / 0.563 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-06/0.3401, allocations: 4.031 kB / 0.563 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3401, allocations: 8 kB / 0.563 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.3401, allocations: 3.938 kB / 0.563 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.3401, allocations: 7.969 kB / 0.563 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3401, allocations: 0 / 0.563 GB, free: 1.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.3402, allocations: 76.3 kB / 0.5631 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3402, allocations: 0 / 0.5631 GB, free: 1.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.3406, allocations: 119.9 kB / 0.5632 GB, free: 1.098 MB / 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.0006662/0.3413, allocations: 180.2 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.3414, allocations: 110.8 kB / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3414, allocations: 0 / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.3414, allocations: 81.11 kB / 0.5635 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.3416, allocations: 16.05 kB / 0.5636 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.3418, allocations: 114.6 kB / 0.5637 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.3418, allocations: 51.36 kB / 0.5637 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.3418, allocations: 0 / 0.5637 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.3418, allocations: 11.44 kB / 0.5637 GB, free: 460 kB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3418, allocations: 3.938 kB / 0.5637 GB, free: 456 kB / 398.1 MB Notification: Performance of Templates: time 0.007481/0.3493, allocations: 3.91 MB / 0.5675 GB, free: 12.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.166314996778965] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.35779437609016895 0.37227628799999996 0.031416526 Calling exit ...