Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008033/0.0008032, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009617, allocations: 204.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1925/0.1925, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.000253, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1163, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.001964/0.1183, allocations: 1.629 MB / 484.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1199, allocations: 1.095 MB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.12, allocations: 3.938 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1203, allocations: 147.7 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1206, allocations: 163.5 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1208, allocations: 99.77 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1211, allocations: 235.3 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1212, allocations: 25.67 kB / 486.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1214, allocations: 99.55 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1215, allocations: 123.5 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1216, allocations: 4 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1217, allocations: 67.91 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1217, allocations: 47.83 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.1218, allocations: 109 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1221, allocations: 211.5 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1221, allocations: 0 / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1221, allocations: 0 / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1221, allocations: 0 / 487.2 MB, free: 4 kB / 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.0006019/0.1227, allocations: 0.5083 MB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1228, allocations: 8.875 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.1228, allocations: 38.75 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1228, allocations: 28.66 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1231, allocations: 279.4 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1231, allocations: 8.375 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1232, allocations: 11.92 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1234, allocations: 107.3 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1234, allocations: 0 / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1234, allocations: 0 / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1234, allocations: 4 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1236, allocations: 55.89 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1241, allocations: 468.7 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1244, allocations: 125.2 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1245, allocations: 49.75 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1245, allocations: 0 / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.1248, allocations: 113 kB / 489 MB, free: 14.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.1248, allocations: 4 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001178/0.126, allocations: 0.4885 MB / 489.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.126, allocations: 81.11 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.1264, allocations: 371.2 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1264, allocations: 33.7 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.1265, allocations: 152.5 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.1266, allocations: 67 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1266, allocations: 33.64 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1268, allocations: 342.8 kB / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1269, allocations: 51.98 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.127, allocations: 95.33 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1273, allocations: 163.5 kB / 490.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1273, allocations: 0 / 490.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003634/0.1277, allocations: 229.2 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1277, allocations: 4 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1277, allocations: 4 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1277, allocations: 0 / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1279, allocations: 47.98 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1279, allocations: 0 / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.128, allocations: 11.98 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.128, allocations: 12 kB / 491.2 MB, free: 11.77 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.1282, allocations: 162.2 kB / 491.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1282, allocations: 35.56 kB / 491.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.1283, allocations: 33.83 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1283, allocations: 7.984 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1283, allocations: 4 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1283, allocations: 0 / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.1292, allocations: 0.7193 MB / 492.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1292, allocations: 8.125 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.1293, allocations: 23.98 kB / 492.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1293, allocations: 4 kB / 492.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1293, allocations: 8 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1293, allocations: 7.984 kB / 492.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1293, allocations: 8.812 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.1298, allocations: 413.8 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1298, allocations: 116.7 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1299, allocations: 8 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.13, allocations: 11.98 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1301, allocations: 23.86 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1301, allocations: 15.98 kB / 492.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.1304, allocations: 281.9 kB / 493 MB, free: 9.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1304, allocations: 0 / 493 MB, free: 9.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1307, allocations: 47.98 kB / 493.1 MB, free: 9.734 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.1326, allocations: 1.356 MB / 494.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.1329, allocations: 159.4 kB / 494.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.133, allocations: 4.062 kB / 494.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1331, allocations: 83.84 kB / 494.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.1337, allocations: 55.67 kB / 494.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.1366, allocations: 2.775 MB / 497.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.137, allocations: 0.7638 MB / 498.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1371, allocations: 37.92 kB / 498.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1372, allocations: 87.41 kB / 498.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1373, allocations: 0 / 498.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1527, allocations: 5.507 MB / 0.4921 GB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.153, allocations: 240.3 kB / 0.4923 GB, free: 14.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.907, allocations: 3.625 kB / 0.4923 GB, free: 14.77 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches