Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002595/0.002595, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 87.86 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3535, allocations: 66.08 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001598/0.3551, allocations: 499.8 kB / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3583, allocations: 2.067 MB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.3583, allocations: 0 / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.3584, allocations: 0 / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.3584, allocations: 0 / 0.5636 GB, free: 1.383 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.3606, allocations: 0.7655 MB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.3607, allocations: 4 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.3607, allocations: 0 / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.3608, allocations: 0 / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.289e-05/0.3608, allocations: 3.984 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.3608, allocations: 7.938 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.3631, allocations: 1.545 MB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.3631, allocations: 3.984 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.3632, allocations: 4 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.3648, allocations: 1.546 MB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3648, allocations: 4 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3648, allocations: 7.938 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3648, allocations: 0 / 0.5674 GB, free: 13.5 MB / 414.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.0005893/0.3654, allocations: 339.3 kB / 0.5678 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3655, allocations: 12.03 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3655, allocations: 0.9375 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/0.3656, allocations: 102.5 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3656, allocations: 4.375 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3656, allocations: 8.312 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3657, allocations: 55.72 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3657, allocations: 0 / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3657, allocations: 7.984 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3657, allocations: 4 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.3658, allocations: 25.7 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.3659, allocations: 97.31 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.366, allocations: 48.31 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.366, allocations: 38.48 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.366, allocations: 4.062 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.3661, allocations: 60.25 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3661, allocations: 0 / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002226/0.3663, allocations: 122.7 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3663, allocations: 81.23 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.3664, allocations: 89.86 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3664, allocations: 29.7 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.3665, allocations: 84.12 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3665, allocations: 0 / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3665, allocations: 9.719 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3666, allocations: 314.8 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.3667, allocations: 29.64 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.3667, allocations: 29.7 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.3667, allocations: 64.27 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3667, allocations: 4 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.89e-05/0.3668, allocations: 89.09 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3669, allocations: 33.7 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3669, allocations: 4 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3669, allocations: 3.938 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3669, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3669, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.3669, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.3669, allocations: 0 / 0.5692 GB, free: 11.46 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 0.0001139/0.367, allocations: 147.5 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.367, allocations: 0 / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.3671, allocations: 6.938 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3671, allocations: 3.938 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3671, allocations: 4 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3671, allocations: 0 / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.3672, allocations: 93.33 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3672, allocations: 0 / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.3672, allocations: 3.984 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3672, allocations: 0 / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3672, allocations: 8 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3672, allocations: 7.938 kB / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3672, allocations: 0 / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.3673, allocations: 116.5 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.3673, allocations: 0 / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3673, allocations: 0 / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.3673, allocations: 11.94 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.3673, allocations: 0 / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3673, allocations: 0 / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.3674, allocations: 79.22 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3674, allocations: 0 / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007786/0.3682, allocations: 275.6 kB / 0.5699 GB, free: 10.64 MB / 414.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.001402/0.3696, allocations: 430.2 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3697, allocations: 110.8 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3697, allocations: 0 / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.3698, allocations: 81.11 kB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3699, allocations: 7.984 kB / 0.5705 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.3701, allocations: 102.7 kB / 0.5706 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.3702, allocations: 51.36 kB / 0.5706 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.071e-06/0.3702, allocations: 0 / 0.5706 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.3702, allocations: 15.56 kB / 0.5707 GB, free: 9.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3702, allocations: 3.938 kB / 0.5707 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Templates: time 0.01395/0.3842, allocations: 7.3 MB / 0.5778 GB, free: 2.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.484509801492095] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.39293439127504826 0.40680082300000003 0.038997635 Calling exit ...