Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.0007584/0.0007584, 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.0009118/0.0009121, allocations: 175.2 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.463/1.463, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3735/0.3735, allocations: 43.55 MB / 314.6 MB, free: 9 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.0005143/0.0005143, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00187/0.1258, allocations: 1.391 MB / 444.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1268, allocations: 0.7461 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.1269, allocations: 3.938 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1271, allocations: 23.92 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1272, allocations: 43.83 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1275, allocations: 83.83 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1276, allocations: 79.7 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.1277, allocations: 16.22 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.1278, allocations: 43.77 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.1278, allocations: 27.86 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1279, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.1279, allocations: 39.97 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.128, allocations: 15.92 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.128, allocations: 37.64 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1282, allocations: 84.05 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1282, allocations: 0 / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1282, allocations: 4 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1282, allocations: 0 / 445.5 MB, free: 10.52 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.0004773/0.1287, allocations: 406.8 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1287, allocations: 11.97 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1288, allocations: 34.55 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1288, allocations: 7.906 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.129, allocations: 206.8 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.129, allocations: 3.938 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1291, allocations: 8 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1292, allocations: 53.67 kB / 446.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1292, allocations: 3.984 kB / 446.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1292, allocations: 3.953 kB / 446.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1293, allocations: 4 kB / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.1293, allocations: 15.98 kB / 446.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1297, allocations: 280.9 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1298, allocations: 62.62 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1299, allocations: 20.84 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1299, allocations: 7.938 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1301, allocations: 71.34 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1301, allocations: 0 / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.1306, allocations: 177.2 kB / 446.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1306, allocations: 51.41 kB / 446.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1308, allocations: 186.2 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1308, allocations: 33.7 kB / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.1309, allocations: 96.14 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1309, allocations: 23.7 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1309, allocations: 0 / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.131, allocations: 322.8 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1311, allocations: 27.92 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.1311, allocations: 37.7 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.1312, allocations: 24.06 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1312, allocations: 0 / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.1314, allocations: 101.5 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1314, allocations: 4 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1314, allocations: 4 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1315, allocations: 8.016 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.1315, allocations: 12 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1316, allocations: 0 / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.1316, allocations: 4 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1316, allocations: 4.188 kB / 447.8 MB, free: 8.012 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 0.0001051/0.1317, allocations: 129.8 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1318, allocations: 19.7 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.1318, allocations: 20.7 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1318, allocations: 7.938 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1318, allocations: 0 / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1318, allocations: 0 / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1323, allocations: 391.3 kB / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1323, allocations: 3.938 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.1323, allocations: 8 kB / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1323, allocations: 0 / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1323, allocations: 3.984 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1323, allocations: 8.031 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1323, allocations: 0 / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1326, allocations: 208.2 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.1326, allocations: 84.92 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1327, allocations: 8 kB / 448.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1328, allocations: 8.359 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1328, allocations: 7.938 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1328, allocations: 7.984 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1329, allocations: 140.1 kB / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1329, allocations: 0 / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1332, allocations: 27.98 kB / 448.8 MB, free: 6.848 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.00134/0.1345, allocations: 1.086 MB / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1347, allocations: 63.89 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1347, allocations: 4.062 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.1348, allocations: 35.86 kB / 450 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1351, allocations: 23.97 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1363, allocations: 0.7079 MB / 450.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1366, allocations: 0.7043 MB / 451.5 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.1367, allocations: 16.88 kB / 451.5 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1367, allocations: 35.42 kB / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1368, allocations: 0 / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1503, allocations: 2.919 MB / 454.4 MB, free: 1.184 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1506, allocations: 225.4 kB / 454.7 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.869, allocations: 0 / 454.7 MB, free: 0.9375 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat