Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007238/0.0007238, allocations: 94.81 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.0008416/0.0008416, allocations: 203 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.301/1.301, allocations: 227.7 MB / 246.8 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002417, allocations: 12.28 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09014, allocations: 63.56 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001811/0.09199, allocations: 1.458 MB / 484.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.09353, allocations: 1.002 MB / 485.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.09362, allocations: 3.938 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.09386, allocations: 35.89 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.09412, allocations: 75.77 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.09432, allocations: 67.8 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.09449, allocations: 107.7 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.09457, allocations: 4 kB / 485.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.09466, allocations: 47.73 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.09475, allocations: 39.77 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.09477, allocations: 4 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.09496, allocations: 107.9 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.09502, allocations: 19.92 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.09508, allocations: 53.52 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.09534, allocations: 179.8 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09535, allocations: 0 / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09536, allocations: 0 / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.09537, allocations: 0 / 486.4 MB, free: 0.8125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004819/0.09586, allocations: 415 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.0959, allocations: 12.88 kB / 486.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.09594, allocations: 34.73 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.09599, allocations: 12.84 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.0962, allocations: 204.2 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.09622, allocations: 4.375 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.09625, allocations: 7.938 kB / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.09641, allocations: 67.39 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.09643, allocations: 0 / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.09645, allocations: 0 / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.09646, allocations: 3.938 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.09655, allocations: 27.97 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.09693, allocations: 280.8 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.09714, allocations: 70.55 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.09722, allocations: 32.91 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.09725, allocations: 4 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.09746, allocations: 79.36 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.09747, allocations: 0 / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005771/0.09805, allocations: 193.5 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.09811, allocations: 77.2 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.09829, allocations: 174.1 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.09832, allocations: 29.69 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.09837, allocations: 100.1 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.09841, allocations: 31.55 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.09845, allocations: 17.72 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.09855, allocations: 322.8 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.09863, allocations: 31.92 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.09872, allocations: 54.55 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.09886, allocations: 77.73 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.09887, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002216/0.0991, allocations: 125.4 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.09912, allocations: 4 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.09913, allocations: 4 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.09915, allocations: 0 / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.09925, allocations: 19.98 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.09927, allocations: 8.031 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.09934, allocations: 12.03 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.09935, allocations: 7.984 kB / 488.9 MB, free: 14.06 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.085e-05/0.09945, allocations: 125.8 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.09948, allocations: 7.906 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.09953, allocations: 12.72 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09953, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.09955, allocations: 7.938 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.09956, allocations: 3.984 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.1, allocations: 431.1 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1001, allocations: 3.938 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.1001, allocations: 8 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1001, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1001, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1001, allocations: 3.984 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1001, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1004, allocations: 216.3 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1005, allocations: 96.94 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1005, allocations: 4 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.1006, allocations: 4 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1006, allocations: 7.984 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1006, allocations: 4 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1008, allocations: 143.7 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1008, allocations: 0 / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1011, allocations: 59.83 kB / 490 MB, free: 12.83 MB / 366.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001619/0.1027, allocations: 1.19 MB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1029, allocations: 79.84 kB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1029, allocations: 3.938 kB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.103, allocations: 35.92 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1034, allocations: 36.31 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1051, allocations: 1.679 MB / 493 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1053, allocations: 0.7009 MB / 493.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.038e-05/0.1054, allocations: 24.62 kB / 493.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1055, allocations: 35.42 kB / 493.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1055, allocations: 4 kB / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.1187, allocations: 3.758 MB / 497.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.1189, allocations: 253.6 kB / 497.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.878, allocations: 0 / 497.8 MB, free: 5.207 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches