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.001284/0.001284, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001319/0.001319, allocations: 211 kB / 24.53 MB, free: 4.07 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2124/0.2124, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.002319/0.002319, allocations: 83.84 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.29, allocations: 66.07 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001723/0.2917, allocations: 495.1 kB / 0.5619 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2939, allocations: 1.637 MB / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.2939, allocations: 0 / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2939, allocations: 0 / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-06/0.2939, allocations: 0 / 0.5635 GB, free: 2.172 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.0008927/0.2948, allocations: 283.2 kB / 0.5638 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.2949, allocations: 8 kB / 0.5638 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.2949, allocations: 4 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.2949, allocations: 4 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.514e-05/0.295, allocations: 3.938 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.295, allocations: 0 / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.2958, allocations: 0.6081 MB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-06/0.2958, allocations: 0 / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2958, allocations: 3.984 kB / 0.5644 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.2963, allocations: 333.1 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2963, allocations: 0 / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2963, allocations: 4 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2963, allocations: 0 / 0.5648 GB, free: 0.9336 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.0003357/0.2966, allocations: 295.7 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2966, allocations: 8.031 kB / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.151e-05/0.2967, allocations: 192 / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.2967, allocations: 34.75 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.2967, allocations: 4.875 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.804e-05/0.2968, allocations: 110.5 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-06/0.2968, allocations: 384 / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2968, allocations: 8.359 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.609e-05/0.2969, allocations: 33.64 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2969, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.2969, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2969, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.2969, allocations: 4 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.297, allocations: 112.8 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.2971, allocations: 30.53 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.2971, allocations: 8.859 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.2971, allocations: 3.938 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.2971, allocations: 56.27 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2971, allocations: 3.938 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.2973, allocations: 59.47 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.2974, allocations: 85.03 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.2974, allocations: 97.81 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2974, allocations: 33.83 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.2975, allocations: 80.14 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.2975, allocations: 3.984 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.2975, allocations: 9.719 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2976, allocations: 314.8 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.2976, allocations: 0 / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.2977, allocations: 0 / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.2977, allocations: 68.33 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2977, allocations: 0 / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.634e-05/0.2978, allocations: 67.33 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.2978, allocations: 29.7 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2978, allocations: 7.922 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2978, allocations: 3.938 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.2978, allocations: 0 / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2978, allocations: 4 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.2979, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2979, allocations: 0 / 0.5663 GB, free: 15.14 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.661e-05/0.298, allocations: 144.9 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.298, allocations: 3.938 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.298, allocations: 7 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.298, allocations: 0 / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.298, allocations: 0 / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.298, allocations: 0 / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.184e-05/0.2981, allocations: 120.8 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2981, allocations: 4 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.2981, allocations: 3.938 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2981, allocations: 4 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.2981, allocations: 0 / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2981, allocations: 0 / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2981, allocations: 0 / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2982, allocations: 94.77 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.2982, allocations: 3.938 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2982, allocations: 7.938 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.2982, allocations: 0 / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.2982, allocations: 4.031 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2982, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.2983, allocations: 75.28 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2983, allocations: 0 / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.2986, allocations: 67.8 kB / 0.5668 GB, free: 14.53 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.0007326/0.2993, allocations: 0.716 MB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.2994, allocations: 71.34 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2994, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.2994, allocations: 59.39 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.2995, allocations: 4 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.2998, allocations: 122.5 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3001, allocations: 0.6729 MB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.598e-06/0.3001, allocations: 0 / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.3002, allocations: 7.562 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3002, allocations: 4 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.321, allocations: 2.257 MB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.71, allocations: 7.156 kB / 0.5706 GB, free: 10.61 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.410451403004117] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.869533581018914 10.885272321 10.585860913 Calling exit ...