Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 113.6 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 192.6 kB / 20.08 MB, free: 2.852 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.428/1.428, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.3512/0.3512, allocations: 44.22 MB / 326.5 MB, free: 6.867 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 71.89 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3046, allocations: 60.98 MB / 0.5109 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001481/0.306, allocations: 0.5162 MB / 0.5114 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3084, allocations: 2.145 MB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.3084, allocations: 0 / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.3084, allocations: 0 / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.3084, allocations: 3.938 kB / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.3101, allocations: 0.7247 MB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.3101, allocations: 1.875 kB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.3102, allocations: 1.75 kB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.3102, allocations: 0 / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.748e-05/0.3102, allocations: 9.734 kB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-06/0.3102, allocations: 0 / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.3122, allocations: 1.57 MB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.3122, allocations: 0 / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3122, allocations: 7.938 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.3132, allocations: 1.55 MB / 0.5173 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3132, allocations: 0 / 0.5173 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3133, allocations: 4 kB / 0.5173 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3133, allocations: 0 / 0.5173 GB, free: 8.465 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.0004213/0.3137, allocations: 420.5 kB / 0.5177 GB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3137, allocations: 15.89 kB / 0.5177 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.784e-05/0.3137, allocations: 30.75 kB / 0.5177 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.3138, allocations: 0.9375 kB / 0.5177 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.61e-05/0.3138, allocations: 164.4 kB / 0.5179 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3138, allocations: 384 / 0.5179 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3138, allocations: 7.938 kB / 0.5179 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.3139, allocations: 29.7 kB / 0.5179 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3139, allocations: 3.938 kB / 0.5179 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3139, allocations: 0 / 0.5179 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3139, allocations: 0 / 0.5179 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.3139, allocations: 4 kB / 0.5179 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.04e-05/0.314, allocations: 145.7 kB / 0.518 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.369e-05/0.3141, allocations: 26.53 kB / 0.5181 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.098e-05/0.3141, allocations: 4.859 kB / 0.5181 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.3141, allocations: 4 kB / 0.5181 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3141, allocations: 56.27 kB / 0.5181 GB, free: 7.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3141, allocations: 0 / 0.5181 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.3143, allocations: 71.39 kB / 0.5182 GB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.3143, allocations: 77.11 kB / 0.5183 GB, free: 7.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.742e-05/0.3143, allocations: 89.86 kB / 0.5184 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.3143, allocations: 29.7 kB / 0.5184 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/0.3143, allocations: 84.27 kB / 0.5185 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3143, allocations: 3.938 kB / 0.5185 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.3144, allocations: 9.719 kB / 0.5185 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.3144, allocations: 318.8 kB / 0.5188 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.3144, allocations: 3.938 kB / 0.5188 GB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.3144, allocations: 0 / 0.5188 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.3144, allocations: 68.19 kB / 0.5189 GB, free: 6.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3144, allocations: 64 / 0.5189 GB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.469e-05/0.3145, allocations: 67.34 kB / 0.5189 GB, free: 6.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3145, allocations: 33.7 kB / 0.519 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3145, allocations: 0 / 0.519 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3145, allocations: 3.938 kB / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3145, allocations: 0 / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.3145, allocations: 0 / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.3145, allocations: 4 kB / 0.519 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3145, allocations: 4 kB / 0.519 GB, free: 6.438 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.749e-05/0.3146, allocations: 139.6 kB / 0.5191 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-06/0.3146, allocations: 7.938 kB / 0.5191 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-06/0.3146, allocations: 3.125 kB / 0.5191 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.3146, allocations: 0 / 0.5191 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3146, allocations: 0 / 0.5191 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3146, allocations: 0 / 0.5191 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.767e-05/0.3147, allocations: 149.6 kB / 0.5193 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3147, allocations: 4 kB / 0.5193 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3147, allocations: 0 / 0.5193 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3147, allocations: 3.984 kB / 0.5193 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3147, allocations: 0 / 0.5193 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.3147, allocations: 7.938 kB / 0.5193 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3147, allocations: 0 / 0.5193 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.3147, allocations: 94.77 kB / 0.5194 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.3147, allocations: 77.11 kB / 0.5194 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3148, allocations: 0 / 0.5194 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.3148, allocations: 0 / 0.5194 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3148, allocations: 8 kB / 0.5194 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3148, allocations: 4.031 kB / 0.5194 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.069e-05/0.3148, allocations: 75.28 kB / 0.5195 GB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3148, allocations: 0 / 0.5195 GB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.3155, allocations: 275.6 kB / 0.5198 GB, free: 5.492 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.001199/0.3167, allocations: 0.937 MB / 0.5207 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.3167, allocations: 67.41 kB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3167, allocations: 0 / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.3168, allocations: 55.41 kB / 0.5208 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.3169, allocations: 0 / 0.5208 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.3173, allocations: 174.1 kB / 0.521 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.3174, allocations: 0.669 MB / 0.5216 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.3174, allocations: 0 / 0.5216 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.019e-05/0.3174, allocations: 7.438 kB / 0.5216 GB, free: 3.465 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3174, allocations: 0 / 0.5216 GB, free: 3.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.3485, allocations: 8.228 MB / 0.5297 GB, free: 11.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.591, allocations: 8.719 kB / 0.5297 GB, free: 11.21 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.26746459910646] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.668203035369515 8.682324932 8.366171573 Calling exit ...