Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 117.4 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 214.5 kB / 21.41 MB, free: 1.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 251.7 MB, free: 296 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2223/0.2223, allocations: 46.15 MB / 351.1 MB, free: 14.36 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 79.31 kB / 489.6 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 62.44 MB / 0.5392 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001579/0.1185, allocations: 489.8 kB / 0.5396 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1208, allocations: 1.565 MB / 0.5411 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1208, allocations: 4 kB / 0.5412 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.1208, allocations: 0 / 0.5412 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.1209, allocations: 0 / 0.5412 GB, free: 2.754 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.1217, allocations: 227.3 kB / 0.5414 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.1218, allocations: 0 / 0.5414 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.1219, allocations: 11.98 kB / 0.5414 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.1219, allocations: 3.984 kB / 0.5414 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.636e-05/0.1219, allocations: 0 / 0.5414 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.1219, allocations: 0 / 0.5414 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.1229, allocations: 0.7064 MB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.123, allocations: 3.984 kB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.123, allocations: 4 kB / 0.5421 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.1238, allocations: 0.6475 MB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1238, allocations: 0 / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1238, allocations: 0 / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1238, allocations: 0 / 0.5427 GB, free: 1.152 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.0004659/0.1243, allocations: 365 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1243, allocations: 8.031 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1243, allocations: 30.75 kB / 0.5431 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.1244, allocations: 4.938 kB / 0.5431 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1245, allocations: 168.4 kB / 0.5433 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1245, allocations: 384 / 0.5433 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.1245, allocations: 384 / 0.5433 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/0.1246, allocations: 33.81 kB / 0.5433 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1246, allocations: 7.984 kB / 0.5433 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1246, allocations: 0 / 0.5433 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1246, allocations: 0 / 0.5433 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.1247, allocations: 3.938 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.1248, allocations: 145.7 kB / 0.5434 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.1248, allocations: 18.61 kB / 0.5435 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.1249, allocations: 16.78 kB / 0.5435 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.1249, allocations: 0 / 0.5435 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.1249, allocations: 64.27 kB / 0.5435 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.125, allocations: 0 / 0.5435 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.1251, allocations: 67.44 kB / 0.5436 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.1252, allocations: 77.11 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.073e-05/0.1253, allocations: 97.8 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1253, allocations: 25.7 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.1253, allocations: 84.14 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1253, allocations: 0 / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1254, allocations: 13.72 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1255, allocations: 310.8 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1255, allocations: 4.031 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.1256, allocations: 0 / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/0.1256, allocations: 60.27 kB / 0.5442 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1256, allocations: 0 / 0.5442 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.304e-05/0.1257, allocations: 71.33 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.1258, allocations: 35.2 kB / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1258, allocations: 0 / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1258, allocations: 7.938 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1258, allocations: 0 / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1258, allocations: 4.094 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.1258, allocations: 0 / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.1258, allocations: 0 / 0.5444 GB, free: 15.18 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.0001085/0.1259, allocations: 139.5 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.126, allocations: 3.938 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-06/0.126, allocations: 3.125 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.126, allocations: 0 / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.126, allocations: 4 kB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.126, allocations: 0 / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1261, allocations: 153.7 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1261, allocations: 3.984 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1261, allocations: 0 / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1261, allocations: 3.938 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1262, allocations: 0 / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1262, allocations: 0 / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1262, allocations: 0 / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1263, allocations: 94.77 kB / 0.5447 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1263, allocations: 85.08 kB / 0.5448 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1264, allocations: 4 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.1264, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.1264, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1264, allocations: 3.938 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.1264, allocations: 75.28 kB / 0.5449 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1264, allocations: 0 / 0.5449 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000433/0.1269, allocations: 123.8 kB / 0.545 GB, free: 14.39 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.001088/0.128, allocations: 0.711 MB / 0.5457 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1281, allocations: 59.41 kB / 0.5458 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1281, allocations: 0 / 0.5458 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.1282, allocations: 67.33 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1283, allocations: 3.938 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.1287, allocations: 122.6 kB / 0.546 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.129, allocations: 0.669 MB / 0.5466 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.698e-06/0.129, allocations: 128 / 0.5466 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.129, allocations: 15.44 kB / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.129, allocations: 0 / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1537, allocations: 4.736 MB / 0.5513 GB, free: 7.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/7.979, allocations: 6.109 kB / 0.5513 GB, free: 7.961 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.83109584194608] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.046964639797807 8.070044234 7.942259712 Calling exit ...