Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001332/0.001332, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001472/0.001472, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.96 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 75.88 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001593/0.3193, allocations: 0.4921 MB / 0.5623 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.3215, allocations: 1.509 MB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.3216, allocations: 0 / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.3216, allocations: 0 / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.3216, allocations: 0 / 0.5638 GB, free: 2.113 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001021/0.3226, allocations: 255.4 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.3227, allocations: 3.984 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3227, allocations: 3.984 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.3227, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.3227, allocations: 8 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-06/0.3227, allocations: 0 / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.3238, allocations: 0.6945 MB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.3238, allocations: 0 / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3238, allocations: 4 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.3245, allocations: 0.6146 MB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3245, allocations: 0 / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3245, allocations: 0 / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.3245, allocations: 0 / 0.5653 GB, free: 0.5391 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.0004857/0.325, allocations: 291.8 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.325, allocations: 8.031 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3251, allocations: 8.922 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3252, allocations: 110.5 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3252, allocations: 384 / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.3252, allocations: 384 / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3253, allocations: 59.92 kB / 0.5658 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3254, allocations: 3.938 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3254, allocations: 0 / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3254, allocations: 0 / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.3254, allocations: 37.62 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.3255, allocations: 97.31 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.3256, allocations: 52.31 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.3256, allocations: 30.56 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3256, allocations: 3.938 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.3257, allocations: 60.33 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3257, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.3259, allocations: 122.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.326, allocations: 77.11 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.326, allocations: 93.81 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3261, allocations: 25.7 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.3261, allocations: 80.14 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3261, allocations: 4.125 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3262, allocations: 17.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3263, allocations: 310.8 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.3263, allocations: 33.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.3264, allocations: 29.64 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.3264, allocations: 60.27 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3264, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.896e-05/0.3265, allocations: 93.09 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.3266, allocations: 29.7 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3266, allocations: 4.094 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3266, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/0.3266, allocations: 3.938 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3266, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.3266, allocations: 7.938 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.3266, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.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 9.537e-05/0.3267, allocations: 139.5 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-06/0.3267, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.3267, allocations: 7 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3267, allocations: 3.938 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3267, allocations: 7.938 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-06/0.3267, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3268, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.3268, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3268, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00015/0.3269, allocations: 223.7 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001766/0.3271, allocations: 270.1 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.117e-05/0.3271, allocations: 29.7 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.504e-05/0.3272, allocations: 80.3 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Backend: time 2.41e-07/0.3272, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009836/0.3282, allocations: 240.3 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004206/0.3286, allocations: 0.5834 MB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Templates: time 0.007184/0.3358, allocations: 3.949 MB / 0.5724 GB, free: 8.859 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.083700463997957] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3441889440000523 0.35816958400000004 0.030756445 Calling exit ...