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.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.001328/0.001328, allocations: 113.3 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.001328/0.001328, allocations: 191.7 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.45/1.45, allocations: 207.6 MB / 230.5 MB, free: 3.945 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.3731/0.3731, allocations: 44.23 MB / 326.5 MB, free: 7.207 MB / 254.1 MB " [Timeout remaining time 179] 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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.00217/0.00217, allocations: 67.89 kB / 462.2 MB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3073, allocations: 61 MB / 0.5109 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001544/0.3088, allocations: 0.5044 MB / 0.5114 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3105, allocations: 1.604 MB / 0.5129 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.3106, allocations: 0.8125 kB / 0.5129 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.3106, allocations: 0 / 0.5129 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.3106, allocations: 3.938 kB / 0.513 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3114, allocations: 268.4 kB / 0.5132 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.3114, allocations: 3.812 kB / 0.5132 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3115, allocations: 7.984 kB / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.3115, allocations: 0 / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.3115, allocations: 1.125 kB / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.3115, allocations: 3.938 kB / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.3121, allocations: 0.5253 MB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.3121, allocations: 3.984 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.3121, allocations: 1.938 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3124, allocations: 305.8 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3124, allocations: 4 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3124, allocations: 0 / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3124, allocations: 0 / 0.514 GB, free: 10.89 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.0002883/0.3127, allocations: 371.5 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3128, allocations: 14.77 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.3128, allocations: 30.75 kB / 0.5144 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3128, allocations: 4.922 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.306e-05/0.3129, allocations: 166.2 kB / 0.5146 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3129, allocations: 4.375 kB / 0.5146 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3129, allocations: 4.375 kB / 0.5146 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.313, allocations: 37.53 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.313, allocations: 3.938 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.313, allocations: 0 / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.313, allocations: 0 / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.313, allocations: 1.781 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.532e-05/0.3131, allocations: 147.5 kB / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/0.3131, allocations: 20.39 kB / 0.5148 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.3131, allocations: 12.86 kB / 0.5148 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3132, allocations: 1.75 kB / 0.5148 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3132, allocations: 60.2 kB / 0.5149 GB, free: 9.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.3132, allocations: 0 / 0.5149 GB, free: 9.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.3133, allocations: 68.19 kB / 0.5149 GB, free: 9.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3134, allocations: 77.11 kB / 0.515 GB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.039e-05/0.3134, allocations: 89.86 kB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.3134, allocations: 31.61 kB / 0.5151 GB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.385e-05/0.3134, allocations: 84.14 kB / 0.5152 GB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3134, allocations: 3.938 kB / 0.5152 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.3134, allocations: 13.28 kB / 0.5152 GB, free: 9.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.3135, allocations: 310.8 kB / 0.5155 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.3135, allocations: 3.938 kB / 0.5155 GB, free: 9.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.3135, allocations: 5.797 kB / 0.5155 GB, free: 9.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3135, allocations: 63.89 kB / 0.5156 GB, free: 9.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3135, allocations: 0 / 0.5156 GB, free: 9.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.028e-05/0.3136, allocations: 62.56 kB / 0.5157 GB, free: 9.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.3136, allocations: 35.05 kB / 0.5157 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3136, allocations: 0 / 0.5157 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3136, allocations: 6.016 kB / 0.5157 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3136, allocations: 0 / 0.5157 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3136, allocations: 3.938 kB / 0.5157 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.3136, allocations: 0 / 0.5157 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3136, allocations: 2.281 kB / 0.5157 GB, free: 8.969 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.527e-05/0.3137, allocations: 137.8 kB / 0.5158 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.3137, allocations: 3.938 kB / 0.5158 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.3137, allocations: 7.125 kB / 0.5158 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3137, allocations: 1.656 kB / 0.5158 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3137, allocations: 0 / 0.5158 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3137, allocations: 0 / 0.5158 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.587e-05/0.3138, allocations: 154.7 kB / 0.516 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3138, allocations: 1.25 kB / 0.516 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3138, allocations: 0 / 0.516 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3138, allocations: 7.938 kB / 0.516 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3138, allocations: 1.312 kB / 0.516 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3138, allocations: 0 / 0.516 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3138, allocations: 1.219 kB / 0.516 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.634e-05/0.3138, allocations: 88.8 kB / 0.5161 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3139, allocations: 83.27 kB / 0.5162 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.3139, allocations: 0 / 0.5162 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.3139, allocations: 0 / 0.5162 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.3139, allocations: 10.12 kB / 0.5162 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3139, allocations: 0 / 0.5162 GB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.255e-05/0.3139, allocations: 79.27 kB / 0.5163 GB, free: 8.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3139, allocations: 0 / 0.5163 GB, free: 8.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3142, allocations: 64.25 kB / 0.5163 GB, free: 8.297 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.0005528/0.3148, allocations: 0.7226 MB / 0.517 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.3148, allocations: 63.52 kB / 0.5171 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3148, allocations: 3.938 kB / 0.5171 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.3149, allocations: 55.53 kB / 0.5171 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.315, allocations: 3.406 kB / 0.5171 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.3153, allocations: 134.8 kB / 0.5173 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.835e-05/0.3154, allocations: 0.6742 MB / 0.5179 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.571e-06/0.3154, allocations: 0 / 0.5179 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.3154, allocations: 12.75 kB / 0.5179 GB, free: 6.602 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3154, allocations: 4.125 kB / 0.5179 GB, free: 6.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3396, allocations: 2.097 MB / 0.52 GB, free: 5.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.389, allocations: 12.84 kB / 0.52 GB, free: 5.172 MB / 382.1 MB " [Timeout remaining time 652] (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.082682777196169] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.460019065998495 8.483323578 8.166274438 Calling exit ...