Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001282/0.001282, allocations: 96.92 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001274, allocations: 185.2 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.22 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 9.25 kB / 409.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 61.92 MB / 471.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001925/0.1153, allocations: 1.547 MB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1166, allocations: 0.8894 MB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.1167, allocations: 7.938 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1171, allocations: 207.5 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1173, allocations: 147.6 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1177, allocations: 154.6 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.118, allocations: 155.7 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.1181, allocations: 29.66 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1182, allocations: 103.6 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1183, allocations: 111.6 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1184, allocations: 4 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.1185, allocations: 35.98 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1185, allocations: 59.75 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.1186, allocations: 53.58 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1188, allocations: 168 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.1188, allocations: 0 / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1188, allocations: 7.984 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1188, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006559/0.1195, allocations: 0.5214 MB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1195, allocations: 8.031 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.1196, allocations: 38.56 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1196, allocations: 23.72 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.12, allocations: 267 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.12, allocations: 4 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.12, allocations: 19.86 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1203, allocations: 107.3 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1203, allocations: 0 / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1203, allocations: 4 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1203, allocations: 0 / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1205, allocations: 51.89 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.1211, allocations: 472.7 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.1215, allocations: 129.2 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1215, allocations: 3.984 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1218, allocations: 124.1 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1218, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001232/0.1231, allocations: 0.4969 MB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1231, allocations: 89 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.1236, allocations: 428.5 kB / 477.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1236, allocations: 29.7 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1237, allocations: 160.4 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.1238, allocations: 67.09 kB / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.1239, allocations: 8 kB / 478.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.124, allocations: 338.8 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1241, allocations: 55.97 kB / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1243, allocations: 95.34 kB / 478.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1244, allocations: 72.08 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1244, allocations: 3.938 kB / 478.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003723/0.1248, allocations: 225.2 kB / 479 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1248, allocations: 8.062 kB / 479 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1249, allocations: 4 kB / 479 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1249, allocations: 0 / 479 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.125, allocations: 47.91 kB / 479 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.125, allocations: 3.953 kB / 479 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.1251, allocations: 8 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1252, allocations: 12 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001684/0.1253, allocations: 170.3 kB / 479.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.1254, allocations: 35.62 kB / 479.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.1255, allocations: 42.61 kB / 479.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1255, allocations: 0 / 479.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1255, allocations: 0 / 479.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1255, allocations: 7.953 kB / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.1264, allocations: 0.7271 MB / 480 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1264, allocations: 3.953 kB / 480 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.1265, allocations: 27.98 kB / 480.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1265, allocations: 4 kB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1265, allocations: 11.98 kB / 480.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1266, allocations: 4.188 kB / 480.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1266, allocations: 3.938 kB / 480.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.1271, allocations: 481.4 kB / 480.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.1272, allocations: 108.7 kB / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.1272, allocations: 11.94 kB / 480.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1274, allocations: 8 kB / 480.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1274, allocations: 23.91 kB / 480.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1275, allocations: 8 kB / 480.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.1278, allocations: 323 kB / 481 MB, free: 3.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1278, allocations: 0 / 481 MB, free: 3.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.1282, allocations: 48 kB / 481.1 MB, free: 3.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002009/0.1302, allocations: 1.763 MB / 482.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1306, allocations: 159.8 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1306, allocations: 0 / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1307, allocations: 79.84 kB / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1312, allocations: 45.5 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.134, allocations: 2.063 MB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1344, allocations: 0.7794 MB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.1345, allocations: 45.91 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1347, allocations: 91.39 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1347, allocations: 384 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.1507, allocations: 5.629 MB / 491.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.151, allocations: 216.2 kB / 491.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.09, allocations: 0 / 491.9 MB, free: 8.918 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat