Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.0007693/0.0007693, 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.0009728/0.0009731, allocations: 183.5 kB / 16.59 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.565/1.565, allocations: 205.4 MB / 222.8 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.3902/0.3902, allocations: 43.55 MB / 314.6 MB, free: 9.02 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.0005251/0.0005255, allocations: 18.97 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002207/0.1288, allocations: 1.395 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1302, allocations: 0.7422 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1304, allocations: 7.938 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1307, allocations: 23.91 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1309, allocations: 47.83 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1312, allocations: 71.84 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1313, allocations: 79.7 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.1314, allocations: 16.2 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.1315, allocations: 39.78 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.1316, allocations: 23.86 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1316, allocations: 4 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1317, allocations: 35.98 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.1318, allocations: 23.91 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1318, allocations: 33.7 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.132, allocations: 79.98 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.132, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.132, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.132, allocations: 0 / 445.5 MB, free: 10.54 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.000512/0.1325, allocations: 394.9 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1326, allocations: 8.031 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1326, allocations: 34.56 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1327, allocations: 7.906 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1329, allocations: 203.5 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1329, allocations: 0 / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.133, allocations: 4 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1331, allocations: 57.61 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1331, allocations: 3.938 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1332, allocations: 3.953 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1332, allocations: 0 / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.1333, allocations: 27.98 kB / 446.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1336, allocations: 280.8 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1338, allocations: 58.61 kB / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.1339, allocations: 16.86 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1339, allocations: 8 kB / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1341, allocations: 75.27 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/0.1341, allocations: 3.984 kB / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005356/0.1346, allocations: 161.5 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1347, allocations: 51.41 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1349, allocations: 159 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1349, allocations: 29.7 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.135, allocations: 104.1 kB / 447.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.135, allocations: 31.62 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.135, allocations: 0 / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.1351, allocations: 318.8 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.1352, allocations: 19.98 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.1352, allocations: 41.64 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.1353, allocations: 20 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1353, allocations: 4 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1355, allocations: 105.6 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1355, allocations: 4 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1355, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1356, allocations: 11.94 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.1357, allocations: 15.98 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1357, allocations: 0 / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1357, allocations: 4 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1357, allocations: 4 kB / 447.7 MB, free: 8.07 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.282e-05/0.1358, allocations: 125.9 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1359, allocations: 15.84 kB / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1359, allocations: 12.72 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1359, allocations: 4 kB / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1359, allocations: 0 / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1359, allocations: 0 / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1364, allocations: 395.5 kB / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1364, allocations: 0 / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1364, allocations: 15.88 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1364, allocations: 0 / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1364, allocations: 7.984 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1364, allocations: 0 / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1364, allocations: 0 / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1367, allocations: 208.5 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1367, allocations: 92.86 kB / 448.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1368, allocations: 3.984 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1368, allocations: 8 kB / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1369, allocations: 0 / 448.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1369, allocations: 7.984 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.137, allocations: 128.5 kB / 448.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.137, allocations: 0 / 448.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1373, allocations: 27.94 kB / 448.8 MB, free: 6.934 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.001348/0.1386, allocations: 1.085 MB / 449.8 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1388, allocations: 59.92 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1388, allocations: 0 / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.1389, allocations: 27.92 kB / 449.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1392, allocations: 23.98 kB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1403, allocations: 0.6462 MB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1406, allocations: 0.7004 MB / 451.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.1406, allocations: 21.17 kB / 451.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1407, allocations: 31.42 kB / 451.4 MB, free: 4.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1407, allocations: 0 / 451.4 MB, free: 4.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.1546, allocations: 2.81 MB / 454.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.1548, allocations: 224.1 kB / 454.4 MB, free: 1.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.818, allocations: 4 kB / 454.4 MB, free: 1.211 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat