Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001818/0.001818, allocations: 119.6 kB / 17.83 MB, free: 5.242 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.00205/0.00205, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3487/0.3487, allocations: 44.24 MB / 327.3 MB, free: 6.695 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 64.38 kB / 462.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3102, allocations: 61 MB / 0.5116 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001528/0.3118, allocations: 0.5012 MB / 0.5121 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3135, allocations: 1.607 MB / 0.5137 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.3135, allocations: 0 / 0.5137 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3135, allocations: 0 / 0.5137 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.3135, allocations: 0 / 0.5137 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.3143, allocations: 266.5 kB / 0.5139 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.3143, allocations: 13.95 kB / 0.5139 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.3144, allocations: 1.812 kB / 0.5139 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.3144, allocations: 3.938 kB / 0.5139 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.3144, allocations: 3.984 kB / 0.514 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-06/0.3144, allocations: 1.875 kB / 0.514 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.315, allocations: 0.5285 MB / 0.5145 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-06/0.315, allocations: 0 / 0.5145 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.315, allocations: 1.625 kB / 0.5145 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3154, allocations: 305.4 kB / 0.5148 GB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3154, allocations: 0 / 0.5148 GB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3154, allocations: 0 / 0.5148 GB, free: 11.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3154, allocations: 0 / 0.5148 GB, free: 11.19 MB / 382.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.0002881/0.3157, allocations: 375.8 kB / 0.5151 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3157, allocations: 17.47 kB / 0.5151 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.262e-05/0.3157, allocations: 5.5 kB / 0.5151 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.416e-05/0.3157, allocations: 30.75 kB / 0.5152 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.3158, allocations: 6.25 kB / 0.5152 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.69e-05/0.3158, allocations: 168.3 kB / 0.5153 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3158, allocations: 384 / 0.5153 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3158, allocations: 1.75 kB / 0.5153 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.3159, allocations: 32.39 kB / 0.5154 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3159, allocations: 0 / 0.5154 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.3159, allocations: 0 / 0.5154 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3159, allocations: 1.375 kB / 0.5154 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.316, allocations: 5.359 kB / 0.5154 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.247e-05/0.316, allocations: 151.1 kB / 0.5155 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.3161, allocations: 19.89 kB / 0.5155 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.3161, allocations: 6.234 kB / 0.5155 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3161, allocations: 3.938 kB / 0.5156 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3161, allocations: 57.64 kB / 0.5156 GB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.3161, allocations: 3.984 kB / 0.5156 GB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.3163, allocations: 67.64 kB / 0.5157 GB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.3163, allocations: 81.23 kB / 0.5158 GB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.985e-05/0.3163, allocations: 95.17 kB / 0.5158 GB, free: 9.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.3164, allocations: 25.7 kB / 0.5159 GB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-06/0.3164, allocations: 80.14 kB / 0.5159 GB, free: 9.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3164, allocations: 1.375 kB / 0.5159 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3164, allocations: 11.09 kB / 0.516 GB, free: 9.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.3164, allocations: 320.2 kB / 0.5163 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.3165, allocations: 0 / 0.5163 GB, free: 9.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-06/0.3165, allocations: 5.375 kB / 0.5163 GB, free: 9.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.3165, allocations: 60.39 kB / 0.5163 GB, free: 9.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3165, allocations: 0 / 0.5163 GB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.013e-05/0.3165, allocations: 62.22 kB / 0.5164 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3166, allocations: 35.19 kB / 0.5164 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3166, allocations: 4 kB / 0.5164 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3166, allocations: 1.375 kB / 0.5164 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3166, allocations: 3.938 kB / 0.5164 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3166, allocations: 0 / 0.5164 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.3166, allocations: 5.469 kB / 0.5164 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3166, allocations: 7.938 kB / 0.5164 GB, free: 9.262 MB / 382.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 4.952e-05/0.3167, allocations: 134.3 kB / 0.5166 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.3167, allocations: 5.312 kB / 0.5166 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-06/0.3167, allocations: 3.125 kB / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3167, allocations: 0 / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3167, allocations: 5.359 kB / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3167, allocations: 0 / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.576e-05/0.3167, allocations: 143.1 kB / 0.5167 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3167, allocations: 7.938 kB / 0.5167 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.3167, allocations: 5.312 kB / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3167, allocations: 0 / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3167, allocations: 1.375 kB / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3167, allocations: 0 / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3167, allocations: 0 / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.3168, allocations: 89.83 kB / 0.5168 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.3168, allocations: 85.02 kB / 0.5169 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3168, allocations: 5.375 kB / 0.5169 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.3169, allocations: 5.359 kB / 0.5169 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.3169, allocations: 0 / 0.5169 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3169, allocations: 9.359 kB / 0.5169 GB, free: 8.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.074e-05/0.3169, allocations: 75.28 kB / 0.517 GB, free: 8.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3169, allocations: 0 / 0.517 GB, free: 8.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.3172, allocations: 67.95 kB / 0.5171 GB, free: 8.59 MB / 382.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.0005365/0.3177, allocations: 0.7107 MB / 0.5177 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.3178, allocations: 68.52 kB / 0.5178 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3178, allocations: 0 / 0.5178 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.3178, allocations: 54.34 kB / 0.5179 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.3179, allocations: 1.406 kB / 0.5179 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.3182, allocations: 144.3 kB / 0.518 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.3183, allocations: 0.6781 MB / 0.5187 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.3183, allocations: 0 / 0.5187 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.3183, allocations: 8.719 kB / 0.5187 GB, free: 6.902 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3183, allocations: 0 / 0.5187 GB, free: 6.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.3368, allocations: 2.14 MB / 0.5208 GB, free: 5.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.676, allocations: 12.45 kB / 0.5208 GB, free: 5.234 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.481728175014723] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.802971869998146 8.824716001 8.504895595 Calling exit ...