Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001063/0.001062, allocations: 95.34 kB / 15.68 MB, free: 488 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.001434/0.001434, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.719/1.719, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3389/0.3389, allocations: 43.55 MB / 314.5 MB, free: 9.008 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: 26.97 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1188, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001882/0.1207, allocations: 1.388 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1218, allocations: 0.7305 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.1218, allocations: 4 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1221, allocations: 31.84 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1223, allocations: 47.86 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1225, allocations: 71.78 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1227, allocations: 59.86 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.1228, allocations: 12.22 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.1228, allocations: 35.84 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.1229, allocations: 35.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1229, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.123, allocations: 31.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1231, allocations: 15.92 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.1231, allocations: 41.64 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1233, allocations: 84.09 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1233, allocations: 0 / 445.4 MB, free: 10.59 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.0004776/0.1238, allocations: 410.8 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1238, allocations: 12.03 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1238, allocations: 30.56 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1239, allocations: 7.906 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1241, allocations: 215.4 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1241, allocations: 0 / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1242, allocations: 4 kB / 446.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1243, allocations: 53.67 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1243, allocations: 0 / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1243, allocations: 11.89 kB / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1243, allocations: 0 / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.1244, allocations: 23.98 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1247, allocations: 280.9 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1249, allocations: 54.67 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1249, allocations: 4 kB / 446.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1251, allocations: 75.41 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1251, allocations: 0 / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005/0.1256, allocations: 177.2 kB / 446.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1257, allocations: 55.34 kB / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1259, allocations: 191.3 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1259, allocations: 33.7 kB / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.126, allocations: 104.1 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.126, allocations: 31.62 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.126, allocations: 0 / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1261, allocations: 326.8 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.1262, allocations: 12 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.1262, allocations: 37.7 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.1263, allocations: 28 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1263, allocations: 3.938 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/0.1265, allocations: 109.4 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1265, allocations: 8 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1265, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1265, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1266, allocations: 15.98 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1267, allocations: 0 / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1267, allocations: 8 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1267, allocations: 4 kB / 447.7 MB, free: 8.078 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.143e-05/0.1268, allocations: 133.8 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1268, allocations: 15.86 kB / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1269, allocations: 21.39 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1269, allocations: 0 / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1269, allocations: 0 / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1269, allocations: 7.984 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.1273, allocations: 395.2 kB / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1273, allocations: 0 / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1274, allocations: 12.19 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1274, allocations: 4 kB / 448.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1274, allocations: 3.938 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1274, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1274, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.1276, allocations: 221.9 kB / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1277, allocations: 88.92 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1277, allocations: 4 kB / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1278, allocations: 7.984 kB / 448.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1279, allocations: 4 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1279, allocations: 4 kB / 448.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.128, allocations: 156.9 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.128, allocations: 0 / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1283, allocations: 31.98 kB / 448.8 MB, free: 6.879 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.001414/0.1297, allocations: 1.172 MB / 450 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1299, allocations: 59.95 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1299, allocations: 0 / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.1299, allocations: 23.94 kB / 450.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1302, allocations: 28.09 kB / 450.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1313, allocations: 0.8819 MB / 451 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1316, allocations: 0.7043 MB / 451.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.1317, allocations: 12.88 kB / 451.7 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.1317, allocations: 43.36 kB / 451.7 MB, free: 3.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1318, allocations: 0 / 451.7 MB, free: 3.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.1443, allocations: 2.962 MB / 454.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.1446, allocations: 212.4 kB / 454.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.94, allocations: 0 / 454.9 MB, free: 0.6797 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat