Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001283/0.001283, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001403/0.001403, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2166/0.2166, allocations: 44.93 MB / 359.6 MB, free: 6.055 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [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.00196/0.00196, allocations: 65.62 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 65.48 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001546/0.3164, allocations: 492.2 kB / 0.5582 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.3193, allocations: 1.959 MB / 0.5601 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-06/0.3193, allocations: 0 / 0.5601 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-06/0.3193, allocations: 0 / 0.5601 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.202e-06/0.3193, allocations: 0 / 0.5601 GB, free: 5.082 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.321, allocations: 0.557 MB / 0.5606 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.634e-05/0.321, allocations: 0 / 0.5606 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.593e-05/0.321, allocations: 4 kB / 0.5606 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-06/0.321, allocations: 0 / 0.5606 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.097e-05/0.321, allocations: 3.984 kB / 0.5606 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-06/0.321, allocations: 3.938 kB / 0.5606 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.3224, allocations: 0.8722 MB / 0.5615 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.3224, allocations: 0 / 0.5615 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.3224, allocations: 7.984 kB / 0.5615 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009698/0.3234, allocations: 0.7696 MB / 0.5623 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3234, allocations: 0 / 0.5623 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3234, allocations: 0 / 0.5623 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3234, allocations: 0 / 0.5623 GB, free: 2.867 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003684/0.3238, allocations: 305.6 kB / 0.5626 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3238, allocations: 12.03 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.93e-05/0.3239, allocations: 75.47 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.3239, allocations: 106 kB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.324, allocations: 80.22 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3241, allocations: 185.8 kB / 0.563 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.3242, allocations: 154.9 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.3242, allocations: 150.9 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/0.3243, allocations: 104.9 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3243, allocations: 75.28 kB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.3244, allocations: 158.5 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.3245, allocations: 154.5 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.3245, allocations: 150.6 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.3248, allocations: 417 kB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3249, allocations: 169.1 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.325, allocations: 80.19 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.325, allocations: 87.22 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.3251, allocations: 113.8 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3251, allocations: 3.938 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.321e-05/0.3252, allocations: 29.64 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3253, allocations: 156.4 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.3253, allocations: 93.86 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3254, allocations: 25.7 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3254, allocations: 80.14 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3254, allocations: 0 / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.3254, allocations: 9.719 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3256, allocations: 318.8 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.3256, allocations: 0 / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.3256, allocations: 25.7 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.3256, allocations: 75.28 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/0.3257, allocations: 79.28 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.733e-05/0.3257, allocations: 33.64 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.3258, allocations: 85.88 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.3258, allocations: 79.34 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.2e-05/0.3259, allocations: 158.6 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.3259, allocations: 79.22 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.294e-05/0.326, allocations: 154.5 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.3261, allocations: 87.25 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3261, allocations: 75.28 kB / 0.5663 GB, free: 14.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001676/0.3263, allocations: 268.3 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.3264, allocations: 108.9 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.3264, allocations: 111.7 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.342e-05/0.3265, allocations: 180.3 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.993e-05/0.3266, allocations: 180.2 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/0.3266, allocations: 180.3 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.3269, allocations: 372.3 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/0.3269, allocations: 112.9 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.327, allocations: 108.9 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.327, allocations: 184.2 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.3271, allocations: 180.3 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.202e-05/0.3272, allocations: 180.2 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.34e-05/0.3273, allocations: 184.2 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3274, allocations: 303.8 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.3275, allocations: 108.9 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.3276, allocations: 180.3 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3276, allocations: 104.9 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.3277, allocations: 180.3 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.3278, allocations: 104.9 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.3278, allocations: 79.28 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3278, allocations: 0 / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006167/0.3284, allocations: 159.5 kB / 0.5697 GB, free: 10.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001164/0.3296, allocations: 0.9739 MB / 0.5707 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.982e-05/0.3296, allocations: 7.938 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3296, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3296, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.33, allocations: 463.7 kB / 0.5711 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.3304, allocations: 218.1 kB / 0.5713 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.3305, allocations: 55.34 kB / 0.5714 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.823e-06/0.3305, allocations: 0 / 0.5714 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3305, allocations: 11.44 kB / 0.5714 GB, free: 9.016 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3305, allocations: 4 kB / 0.5714 GB, free: 9.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.3557, allocations: 4.488 MB / 0.5758 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.68, allocations: 10.17 kB / 0.5758 GB, free: 4.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.530824978020974] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.84581915405579 11.867021086 11.540460413 Calling exit ...