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.001472/0.001472, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.001663/0.001663, allocations: 210 kB / 24.51 MB, free: 3.941 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.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.213/0.213, allocations: 46.95 MB / 361.6 MB, free: 3.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 71.89 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 66.08 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001603/0.2919, allocations: 495.2 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.294, allocations: 1.552 MB / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.294, allocations: 0 / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.294, allocations: 0 / 0.5634 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-06/0.294, allocations: 0 / 0.5634 GB, free: 2.016 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.0008806/0.2949, allocations: 283.3 kB / 0.5637 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.295, allocations: 15.92 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.295, allocations: 7.984 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.295, allocations: 0 / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.295, allocations: 0 / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-06/0.295, allocations: 0 / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006494/0.2957, allocations: 431 kB / 0.5641 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.2957, allocations: 4 kB / 0.5641 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2957, allocations: 3.984 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.2961, allocations: 305.1 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2961, allocations: 0 / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2961, allocations: 0 / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2962, allocations: 0 / 0.5644 GB, free: 0.9883 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.0003546/0.2965, allocations: 299.7 kB / 0.5647 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2965, allocations: 11.97 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.627e-05/0.2966, allocations: 8.172 kB / 0.5647 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.503e-05/0.2966, allocations: 38.69 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.2966, allocations: 4.938 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.2967, allocations: 106.5 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2967, allocations: 384 / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.2967, allocations: 4.375 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.2968, allocations: 55.34 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2968, allocations: 0 / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2968, allocations: 3.984 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2968, allocations: 8 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.2968, allocations: 25.7 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.297, allocations: 124.8 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.297, allocations: 44.22 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.297, allocations: 34.56 kB / 0.5651 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2971, allocations: 8 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.2971, allocations: 56.27 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2971, allocations: 0 / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.2973, allocations: 122.7 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.2974, allocations: 77.11 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.2974, allocations: 97.81 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2974, allocations: 25.7 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2975, allocations: 80.14 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2975, allocations: 128 / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.2975, allocations: 21.72 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2976, allocations: 310.8 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.2977, allocations: 29.69 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.2977, allocations: 29.7 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.2977, allocations: 56.27 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2977, allocations: 0 / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.873e-05/0.2978, allocations: 101 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.2979, allocations: 33.7 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2979, allocations: 0 / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2979, allocations: 4.094 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.2979, allocations: 0 / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2979, allocations: 3.938 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.2979, allocations: 0 / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2979, allocations: 4 kB / 0.5662 GB, free: 14.9 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 8.614e-05/0.298, allocations: 132.9 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.298, allocations: 3.938 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.298, allocations: 10.98 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.298, allocations: 0 / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.298, allocations: 3.938 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.298, allocations: 4 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.81e-05/0.2981, allocations: 116.8 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2981, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-06/0.2981, allocations: 7.938 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2981, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2981, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.2981, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2981, allocations: 0 / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2982, allocations: 120.5 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.2982, allocations: 3.938 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2982, allocations: 12.02 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.2982, allocations: 0 / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.2983, allocations: 4 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.2983, allocations: 0 / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.2983, allocations: 75.28 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2983, allocations: 0 / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.2986, allocations: 63.8 kB / 0.5667 GB, free: 14.26 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.0007361/0.2993, allocations: 0.7506 MB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.2994, allocations: 118.8 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2994, allocations: 7.938 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.2995, allocations: 85.16 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.2996, allocations: 4 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.2999, allocations: 152.2 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.3, allocations: 55.36 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.3, allocations: 0 / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.3, allocations: 7.438 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3, allocations: 0 / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.321, allocations: 2.303 MB / 0.5701 GB, free: 10.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.79, allocations: 15.23 kB / 0.5701 GB, free: 10.74 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: 13.459718919941224] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.948288555955514 10.962477454 10.663541657 Calling exit ...