Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001792/0.001792, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002163/0.002163, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 0.4969 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.313, allocations: 66.03 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001579/0.3146, allocations: 493.1 kB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3168, allocations: 1.575 MB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.3168, allocations: 3.938 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.3168, allocations: 4 kB / 0.5634 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.3169, allocations: 7.875 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.3178, allocations: 255.4 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.3178, allocations: 3.938 kB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.3178, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.3179, allocations: 4 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.3179, allocations: 7.984 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.3179, allocations: 0 / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.319, allocations: 0.8 MB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.319, allocations: 0 / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.319, allocations: 0 / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.3197, allocations: 0.6491 MB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3197, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3197, allocations: 4 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3197, allocations: 7.875 kB / 0.5651 GB, free: 0.6484 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.000424/0.3202, allocations: 295.8 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3202, allocations: 12.03 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.416e-05/0.3202, allocations: 192 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.53e-05/0.3202, allocations: 30.75 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.3203, allocations: 0.9375 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.3203, allocations: 106.5 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3204, allocations: 4.375 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.3204, allocations: 384 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.3204, allocations: 37.64 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3204, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.3205, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3205, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.3205, allocations: 7.922 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.3206, allocations: 116.8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.3207, allocations: 14.58 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.3207, allocations: 8.859 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.3207, allocations: 7.938 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.3207, allocations: 64.34 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3207, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.3209, allocations: 67.33 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.321, allocations: 77.11 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.321, allocations: 93.81 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.321, allocations: 25.7 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.3211, allocations: 84.27 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.3211, allocations: 4 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.3211, allocations: 13.72 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3212, allocations: 318.8 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-06/0.3212, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.3213, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.3213, allocations: 64.2 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3213, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.31e-05/0.3214, allocations: 75.34 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.3214, allocations: 33.69 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3214, allocations: 4 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3214, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3214, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3214, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.3215, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3215, allocations: 0 / 0.5666 GB, free: 14.87 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.0001004/0.3216, allocations: 135.5 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.3216, allocations: 7.969 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-06/0.3216, allocations: 3 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3216, allocations: 3.984 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3216, allocations: 3.984 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3216, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.732e-05/0.3217, allocations: 120.8 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3217, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.3217, allocations: 3.938 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3217, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.3217, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3217, allocations: 4 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3217, allocations: 4 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.3218, allocations: 90.77 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.3218, allocations: 7.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.3218, allocations: 0 / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-06/0.3218, allocations: 0 / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3218, allocations: 3.984 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3218, allocations: 0 / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.103e-05/0.3219, allocations: 84.33 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3219, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.3222, allocations: 115.9 kB / 0.5672 GB, free: 14.21 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.0009989/0.3232, allocations: 0.7123 MB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.3233, allocations: 63.39 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3233, allocations: 0 / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.3234, allocations: 55.41 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.3235, allocations: 4.125 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.3238, allocations: 126.6 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3241, allocations: 0.669 MB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.3241, allocations: 3.984 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.3242, allocations: 7.438 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3242, allocations: 0 / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3479, allocations: 4.897 MB / 0.5736 GB, free: 7.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.14, allocations: 4 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.98254056100268] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.30389515904244 11.328994136 11.00461364 Calling exit ...