Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.000833, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 173.6 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3336/0.3336, allocations: 43.55 MB / 314.6 MB, free: 8.98 MB / 254.1 MB 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.0006045/0.0006045, allocations: 16 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002079/0.1266, allocations: 1.391 MB / 444.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1277, allocations: 0.7422 MB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.1277, allocations: 7.938 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.128, allocations: 47.86 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1282, allocations: 51.81 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1284, allocations: 83.78 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1285, allocations: 87.69 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1286, allocations: 12.22 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1287, allocations: 43.78 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1288, allocations: 31.84 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1288, allocations: 4 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1289, allocations: 35.98 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.129, allocations: 23.91 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.129, allocations: 41.64 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1292, allocations: 100 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1292, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1292, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1292, allocations: 4 kB / 445.6 MB, free: 10.44 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005041/0.1297, allocations: 426.6 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1298, allocations: 8.031 kB / 446 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.1298, allocations: 34.56 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1299, allocations: 15.81 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1301, allocations: 206.8 kB / 446.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1301, allocations: 4 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1301, allocations: 7.938 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1303, allocations: 53.67 kB / 446.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1303, allocations: 0 / 446.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1303, allocations: 7.953 kB / 446.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1303, allocations: 4 kB / 446.3 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.1304, allocations: 19.92 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.1308, allocations: 288.9 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1309, allocations: 58.69 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.131, allocations: 24.83 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.131, allocations: 3.938 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.1312, allocations: 71.28 kB / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1312, allocations: 0 / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004806/0.1317, allocations: 197.2 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1317, allocations: 51.41 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.132, allocations: 258.5 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.132, allocations: 25.7 kB / 447.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1321, allocations: 116 kB / 447.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1321, allocations: 27.64 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1321, allocations: 4 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1322, allocations: 322.8 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.1323, allocations: 27.98 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.1324, allocations: 33.7 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.1324, allocations: 23.94 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1324, allocations: 0 / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1326, allocations: 101.5 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1327, allocations: 7.984 kB / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1327, allocations: 4 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1327, allocations: 0 / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.1328, allocations: 19.97 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1328, allocations: 0 / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.1328, allocations: 4 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1329, allocations: 7.984 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/0.133, allocations: 137.8 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.133, allocations: 15.77 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.133, allocations: 17.41 kB / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.133, allocations: 0 / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1331, allocations: 8.188 kB / 448.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1331, allocations: 3.984 kB / 448.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.1335, allocations: 411.1 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1335, allocations: 0 / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1335, allocations: 11.98 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1335, allocations: 0 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1335, allocations: 0 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1335, allocations: 4 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1335, allocations: 3.969 kB / 448.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1338, allocations: 216.4 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1338, allocations: 92.94 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1338, allocations: 8 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.1339, allocations: 0 / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.134, allocations: 7.984 kB / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.134, allocations: 8 kB / 448.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1341, allocations: 200 kB / 449.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1342, allocations: 0 / 449.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1344, allocations: 31.98 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.1358, allocations: 1.086 MB / 450.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.136, allocations: 59.91 kB / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.136, allocations: 0 / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.1361, allocations: 28.06 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1364, allocations: 31.97 kB / 450.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1377, allocations: 0.8742 MB / 451.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.138, allocations: 0.716 MB / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.1381, allocations: 25.17 kB / 452 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.1381, allocations: 35.42 kB / 452 MB, free: 3.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1381, allocations: 0 / 452 MB, free: 3.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.151, allocations: 3.253 MB / 455.3 MB, free: 356 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.1511, allocations: 213.5 kB / 455.5 MB, free: 116 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.868, allocations: 0 / 455.5 MB, free: 116 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat