Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.0008839/0.0008836, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008661/0.000866, allocations: 172.7 kB / 16.58 MB, free: 6.848 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.64/1.64, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3712/0.3712, allocations: 43.54 MB / 314.6 MB, free: 9.062 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.0005231/0.0005232, allocations: 16 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002339/0.127, allocations: 1.587 MB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1283, allocations: 0.7695 MB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1285, allocations: 3.938 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.1288, allocations: 35.78 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.129, allocations: 51.81 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1293, allocations: 83.84 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1295, allocations: 123.5 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1297, allocations: 25.47 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.1298, allocations: 51.72 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.1299, allocations: 43.72 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1299, allocations: 4 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.13, allocations: 39.97 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1301, allocations: 15.92 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1301, allocations: 41.64 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1303, allocations: 108 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.1303, allocations: 0 / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1303, allocations: 3.938 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1303, allocations: 0 / 445.9 MB, free: 10.19 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000738/0.1311, allocations: 464.4 kB / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1311, allocations: 8.031 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.1312, allocations: 38.56 kB / 446.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1312, allocations: 11.81 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.1315, allocations: 223.5 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1316, allocations: 8 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1316, allocations: 4 kB / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1318, allocations: 116.2 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1319, allocations: 0 / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1319, allocations: 7.953 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1319, allocations: 3.984 kB / 446.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1321, allocations: 55.91 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.1327, allocations: 0.5048 MB / 447.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1331, allocations: 98.64 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.1332, allocations: 36.84 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1332, allocations: 7.984 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1335, allocations: 83.31 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1335, allocations: 0 / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004524/0.1339, allocations: 153.3 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.134, allocations: 51.41 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1343, allocations: 191.5 kB / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1343, allocations: 25.7 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.1344, allocations: 120 kB / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1344, allocations: 27.61 kB / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.1344, allocations: 0 / 448.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1346, allocations: 326.8 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.1347, allocations: 27.98 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1348, allocations: 68.27 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1349, allocations: 43.88 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1349, allocations: 0 / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002597/0.1352, allocations: 141.4 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1352, allocations: 7.984 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.1352, allocations: 4 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1353, allocations: 0 / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1354, allocations: 23.98 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1354, allocations: 7.938 kB / 448.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.1354, allocations: 7.938 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1355, allocations: 8 kB / 448.7 MB, free: 7.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001212/0.1356, allocations: 137.8 kB / 448.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1356, allocations: 19.81 kB / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.1357, allocations: 13.41 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1357, allocations: 0 / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1357, allocations: 4.469 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1357, allocations: 0 / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.136, allocations: 209.6 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.136, allocations: 7.938 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.1361, allocations: 8 kB / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1361, allocations: 11.94 kB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1361, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1361, allocations: 3.938 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1361, allocations: 0 / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1365, allocations: 188.8 kB / 449.3 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.1366, allocations: 100.8 kB / 449.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1366, allocations: 4 kB / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.1367, allocations: 7.984 kB / 449.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1367, allocations: 11.98 kB / 449.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1368, allocations: 8 kB / 449.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1369, allocations: 137.2 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1369, allocations: 0 / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1371, allocations: 24 kB / 449.6 MB, free: 6.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.1385, allocations: 1.041 MB / 450.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1388, allocations: 87.83 kB / 450.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1388, allocations: 0 / 450.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.1389, allocations: 35.98 kB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1393, allocations: 32.16 kB / 450.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1407, allocations: 0.8479 MB / 451.6 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.141, allocations: 0.72 MB / 452.4 MB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.249e-05/0.1411, allocations: 21.42 kB / 452.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.1412, allocations: 39.42 kB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1412, allocations: 0 / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/0.3693, allocations: 3.245 MB / 455.7 MB, free: 46.06 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.3694, allocations: 218.8 kB / 455.9 MB, free: 45.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.052, allocations: 0 / 455.9 MB, free: 45.83 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat