Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001539/0.001539, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001527/0.001527, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2171/0.2171, allocations: 46.97 MB / 361.7 MB, free: 4.031 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.91 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 66.03 MB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001633/0.3127, allocations: 0.497 MB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3157, allocations: 2.048 MB / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.3158, allocations: 0 / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.3158, allocations: 3.938 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.3158, allocations: 8 kB / 0.5638 GB, free: 1.672 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.3179, allocations: 0.7664 MB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.3179, allocations: 4 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.318, allocations: 0 / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.318, allocations: 3.984 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.478e-05/0.318, allocations: 4 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-06/0.318, allocations: 0 / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.3202, allocations: 1.572 MB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-06/0.3202, allocations: 4 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.3202, allocations: 0 / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.3218, allocations: 1.546 MB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3218, allocations: 0 / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3218, allocations: 0 / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.3218, allocations: 0 / 0.5676 GB, free: 13.78 MB / 414.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.0005401/0.3223, allocations: 347.4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3224, allocations: 8.031 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.3224, allocations: 4.188 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.426e-05/0.3224, allocations: 30.75 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.3225, allocations: 0.9375 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.3225, allocations: 110.5 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3226, allocations: 8.062 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.3226, allocations: 0 / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.3227, allocations: 59.34 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3227, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3227, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3227, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.3227, allocations: 37.69 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3228, allocations: 116.8 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.3229, allocations: 48.25 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.3229, allocations: 30.56 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.3229, allocations: 0 / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.323, allocations: 72.25 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.323, allocations: 0 / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.3232, allocations: 118.8 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.3232, allocations: 77.11 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.3233, allocations: 89.86 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3233, allocations: 29.83 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3233, allocations: 84.12 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.3233, allocations: 4 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.3234, allocations: 17.66 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3235, allocations: 310.8 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.3235, allocations: 29.7 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.3235, allocations: 25.7 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.3236, allocations: 68.2 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3236, allocations: 0 / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.459e-05/0.3237, allocations: 97.09 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.3237, allocations: 29.7 kB / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3237, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3237, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.3237, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3237, allocations: 4 kB / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.3238, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3238, allocations: 0 / 0.5694 GB, free: 11.66 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.132e-05/0.3239, allocations: 143.5 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.3239, allocations: 8 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084e-05/0.3239, allocations: 3 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3239, allocations: 7.969 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3239, allocations: 0 / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3239, allocations: 0 / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.324, allocations: 124.7 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.324, allocations: 3.938 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.324, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.324, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.324, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.324, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.324, allocations: 4 kB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3241, allocations: 120.5 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-06/0.3241, allocations: 4 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.3241, allocations: 0 / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.3241, allocations: 0 / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.3241, allocations: 0 / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3241, allocations: 4 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.3242, allocations: 75.28 kB / 0.5699 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3242, allocations: 0 / 0.5699 GB, free: 11.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.325, allocations: 283.5 kB / 0.5702 GB, free: 10.8 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.00159/0.3266, allocations: 0.973 MB / 0.5711 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3267, allocations: 114.8 kB / 0.5712 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3267, allocations: 0 / 0.5712 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.3267, allocations: 81.11 kB / 0.5713 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.3269, allocations: 7.984 kB / 0.5713 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3274, allocations: 195.9 kB / 0.5715 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.3274, allocations: 51.36 kB / 0.5715 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.955e-06/0.3274, allocations: 4 kB / 0.5715 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.3274, allocations: 7.438 kB / 0.5716 GB, free: 9.246 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3274, allocations: 4.125 kB / 0.5716 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.358, allocations: 8.421 MB / 0.5798 GB, free: 0.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 0 / 0.5798 GB, free: 0.957 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.256316257989965] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.669045974034816 11.695696777 11.369674614 Calling exit ...