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.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.00157/0.00157, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002112/0.002112, allocations: 222.9 kB / 23.01 MB, free: 5.043 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.489/1.489, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.2225/0.2225, allocations: 44.24 MB / 330.3 MB, free: 9.512 MB / 270.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.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.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.002169/0.002169, allocations: 67.91 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 61.03 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001783/0.1298, allocations: 0.5134 MB / 0.5166 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.1333, allocations: 2.163 MB / 0.5187 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1333, allocations: 0 / 0.5187 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1333, allocations: 4 kB / 0.5187 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.1333, allocations: 0 / 0.5187 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.1357, allocations: 0.7521 MB / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.803e-05/0.1357, allocations: 0 / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1357, allocations: 0 / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.1358, allocations: 0 / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.1358, allocations: 7.984 kB / 0.5195 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1358, allocations: 0 / 0.5195 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.1384, allocations: 1.705 MB / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.1384, allocations: 0 / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.1384, allocations: 7.938 kB / 0.5212 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.1405, allocations: 1.567 MB / 0.5227 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1405, allocations: 0 / 0.5227 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1405, allocations: 0 / 0.5227 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1405, allocations: 0 / 0.5227 GB, free: 0.6055 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.0008567/0.1414, allocations: 339.4 kB / 0.523 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1414, allocations: 16.03 kB / 0.523 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.1415, allocations: 30.75 kB / 0.5231 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1415, allocations: 4.938 kB / 0.5231 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1416, allocations: 106.5 kB / 0.5232 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1416, allocations: 4.375 kB / 0.5232 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.1416, allocations: 7.875 kB / 0.5232 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.1417, allocations: 33.62 kB / 0.5232 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1417, allocations: 0 / 0.5232 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1417, allocations: 4.047 kB / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1417, allocations: 4 kB / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.1418, allocations: 0 / 0.5232 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1419, allocations: 112.8 kB / 0.5233 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.142, allocations: 26.55 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.142, allocations: 4.859 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.142, allocations: 0 / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.303e-05/0.142, allocations: 72.19 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1421, allocations: 4 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002088/0.1423, allocations: 55.41 kB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.1423, allocations: 81.11 kB / 0.5236 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.1424, allocations: 93.86 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1424, allocations: 25.7 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.1425, allocations: 80.14 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1425, allocations: 0 / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.1425, allocations: 17.7 kB / 0.5238 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1427, allocations: 315 kB / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.1427, allocations: 0 / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.1427, allocations: 0 / 0.5241 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.1428, allocations: 68.2 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1428, allocations: 0 / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.645e-05/0.1429, allocations: 67.33 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.1429, allocations: 29.7 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.143, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.143, allocations: 4.094 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.143, allocations: 4 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.143, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.143, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.143, allocations: 3.938 kB / 0.5242 GB, free: 14.78 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.0001259/0.1431, allocations: 135.5 kB / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1431, allocations: 7.922 kB / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.1432, allocations: 7 kB / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1432, allocations: 0 / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1432, allocations: 7.938 kB / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1432, allocations: 0 / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1433, allocations: 120.7 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1433, allocations: 3.938 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1433, allocations: 0 / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1433, allocations: 0 / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1433, allocations: 3.984 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1433, allocations: 0 / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.1433, allocations: 8 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1435, allocations: 90.78 kB / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.1435, allocations: 3.984 kB / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1435, allocations: 4 kB / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.1435, allocations: 0 / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.1435, allocations: 3.984 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1435, allocations: 0 / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.1436, allocations: 75.28 kB / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1436, allocations: 0 / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001318/0.1449, allocations: 275.6 kB / 0.5249 GB, free: 13.97 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.002016/0.1469, allocations: 0.936 MB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.147, allocations: 59.39 kB / 0.5259 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.147, allocations: 3.938 kB / 0.5259 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1471, allocations: 55.41 kB / 0.526 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.1473, allocations: 7.922 kB / 0.526 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.1479, allocations: 178 kB / 0.5261 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.1483, allocations: 0.669 MB / 0.5268 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.456e-06/0.1483, allocations: 0 / 0.5268 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1483, allocations: 11.44 kB / 0.5268 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1483, allocations: 0 / 0.5268 GB, free: 11.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.1888, allocations: 8.337 MB / 0.535 GB, free: 3.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.15, allocations: 4 kB / 0.535 GB, free: 3.582 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.248718998162076] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.259270959999412 11.514154562 11.37054941 Calling exit ...