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.0007419/0.0007419, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009221/0.0009221, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002465, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1243, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002101/0.1264, allocations: 1.454 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1281, allocations: 1.01 MB / 485.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.1282, allocations: 0 / 485.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1284, allocations: 39.89 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1287, allocations: 67.7 kB / 485.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1289, allocations: 67.86 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1291, allocations: 103.7 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1292, allocations: 15.98 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.1293, allocations: 39.73 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.1294, allocations: 47.77 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1294, allocations: 0 / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1297, allocations: 107.9 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.543e-05/0.1297, allocations: 7.938 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.1298, allocations: 65.44 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1301, allocations: 175.8 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1301, allocations: 0 / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1301, allocations: 0 / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1301, allocations: 3.938 kB / 486.4 MB, free: 0.8555 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.0004996/0.1306, allocations: 419.1 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1307, allocations: 8.875 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.1307, allocations: 38.73 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1307, allocations: 8.844 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.131, allocations: 204.2 kB / 487 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.131, allocations: 8.375 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.131, allocations: 3.938 kB / 487.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1312, allocations: 75.33 kB / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1312, allocations: 0 / 487.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.1312, allocations: 4.047 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1312, allocations: 0 / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.1313, allocations: 19.98 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1317, allocations: 288.8 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1319, allocations: 70.55 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.1319, allocations: 24.97 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1319, allocations: 4 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1321, allocations: 71.38 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.1321, allocations: 4 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005625/0.1327, allocations: 197.2 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1328, allocations: 85.05 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1329, allocations: 162.2 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.133, allocations: 33.7 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.133, allocations: 96.12 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1331, allocations: 35.55 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1331, allocations: 17.72 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1332, allocations: 322.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1333, allocations: 27.98 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.1334, allocations: 50.56 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1336, allocations: 81.62 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1336, allocations: 3.969 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002167/0.1338, allocations: 129.4 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1338, allocations: 4 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1338, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1338, allocations: 96 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.1339, allocations: 31.86 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.134, allocations: 3.938 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.134, allocations: 4 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.134, allocations: 7.938 kB / 488.9 MB, free: 14.1 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.136e-05/0.1341, allocations: 125.9 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1342, allocations: 11.91 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1342, allocations: 16.72 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1342, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1342, allocations: 3.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1342, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.1347, allocations: 435.1 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1347, allocations: 3.938 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1348, allocations: 12 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1348, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1348, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1348, allocations: 4 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1348, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.135, allocations: 220.2 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1351, allocations: 92.94 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1351, allocations: 7.938 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1352, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1353, allocations: 7.984 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1353, allocations: 8 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1354, allocations: 130.4 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1354, allocations: 0 / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1357, allocations: 59.83 kB / 490 MB, free: 12.88 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.001736/0.1374, allocations: 1.203 MB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1377, allocations: 75.91 kB / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1377, allocations: 0 / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1378, allocations: 39.92 kB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1381, allocations: 23.98 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1399, allocations: 1.676 MB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1402, allocations: 0.7048 MB / 493.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.621e-05/0.1403, allocations: 32.53 kB / 493.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.1404, allocations: 35.42 kB / 493.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1404, allocations: 0 / 493.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.158, allocations: 3.766 MB / 497.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1582, allocations: 253.4 kB / 497.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.949, allocations: 0 / 497.8 MB, free: 5.246 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