Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001553/0.001553, allocations: 114 kB / 20.43 MB, free: 1.457 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.001678/0.001678, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2263/0.2263, allocations: 46.93 MB / 360.8 MB, free: 4.172 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003795/0.003795, allocations: 83.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3736, allocations: 66.08 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001752/0.3754, allocations: 497 kB / 0.5612 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.3778, allocations: 1.636 MB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.3778, allocations: 0 / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3778, allocations: 0 / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.3779, allocations: 0 / 0.5628 GB, free: 2.145 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.3788, allocations: 279.3 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.3789, allocations: 19.98 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3789, allocations: 4 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.3789, allocations: 3.984 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.745e-05/0.3789, allocations: 0 / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.379, allocations: 0 / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009434/0.3799, allocations: 0.6102 MB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-06/0.3799, allocations: 0 / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3799, allocations: 0 / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.3804, allocations: 333 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3804, allocations: 3.938 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3804, allocations: 0 / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3804, allocations: 0 / 0.564 GB, free: 0.9062 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.0004041/0.3808, allocations: 299.7 kB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3809, allocations: 12.02 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.3809, allocations: 38.73 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.3809, allocations: 0.9375 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.381, allocations: 102.5 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.381, allocations: 384 / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.381, allocations: 4.375 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.3811, allocations: 33.83 kB / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3811, allocations: 3.938 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.3812, allocations: 0 / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3812, allocations: 0 / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.3812, allocations: 7.938 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3813, allocations: 120.8 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.121e-05/0.3814, allocations: 18.58 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.3814, allocations: 8.953 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.3814, allocations: 0 / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.3814, allocations: 60.2 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3814, allocations: 0 / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.3816, allocations: 71.33 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3817, allocations: 81.05 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.3818, allocations: 93.81 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3818, allocations: 33.83 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3818, allocations: 80.14 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3818, allocations: 0 / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3819, allocations: 9.719 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.382, allocations: 314.8 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.382, allocations: 0 / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.382, allocations: 3.984 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.3821, allocations: 68.33 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3821, allocations: 0 / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.071e-05/0.3822, allocations: 63.34 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.3822, allocations: 33.64 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3822, allocations: 3.984 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3823, allocations: 0 / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3823, allocations: 0 / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3823, allocations: 0 / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3823, allocations: 8 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3823, allocations: 0 / 0.5655 GB, free: 15.12 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.0001015/0.3824, allocations: 140.9 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3824, allocations: 7.938 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.037e-05/0.3824, allocations: 3 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3824, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3824, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3824, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3825, allocations: 120.8 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3825, allocations: 0 / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.3825, allocations: 0 / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3826, allocations: 3.938 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3826, allocations: 4 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3826, allocations: 0 / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3826, allocations: 3.938 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.3827, allocations: 94.77 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.3827, allocations: 3.938 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3827, allocations: 4 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.3827, allocations: 0 / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.3827, allocations: 7.969 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3827, allocations: 0 / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.664e-05/0.3828, allocations: 75.28 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3828, allocations: 0 / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000306/0.3831, allocations: 67.8 kB / 0.566 GB, free: 14.51 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.0008642/0.3839, allocations: 0.7181 MB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.3841, allocations: 75.39 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3841, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.3841, allocations: 51.41 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.3842, allocations: 6.672 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.3846, allocations: 126.5 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.385, allocations: 0.669 MB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.984e-06/0.385, allocations: 3.984 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.385, allocations: 11.5 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.385, allocations: 8 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.413, allocations: 2.222 MB / 0.5698 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 3.938 kB / 0.5698 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.061184047954157] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.395663673989475 11.411594015 11.02809594 Calling exit ...