Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009875/0.0009875, allocations: 93.45 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.00126/0.00126, allocations: 205.2 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.356/1.356, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 63.56 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001995/0.1219, allocations: 1.473 MB / 484.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1235, allocations: 0.9902 MB / 485.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.1236, allocations: 3.938 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.1239, allocations: 35.89 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1242, allocations: 91.66 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1244, allocations: 63.88 kB / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1246, allocations: 123.7 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.1247, allocations: 11.94 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1248, allocations: 59.64 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.1249, allocations: 39.84 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.125, allocations: 3.984 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1251, allocations: 59.97 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1251, allocations: 23.92 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.1252, allocations: 77.34 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1254, allocations: 147.7 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1254, allocations: 0 / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1255, allocations: 0 / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1255, allocations: 0 / 486.4 MB, free: 0.8047 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004668/0.1259, allocations: 413.3 kB / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.126, allocations: 16.81 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.126, allocations: 34.75 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1261, allocations: 16.75 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1263, allocations: 220.1 kB / 487.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1263, allocations: 8.312 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1263, allocations: 11.94 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1265, allocations: 69.73 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1265, allocations: 0 / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1266, allocations: 0 / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1266, allocations: 4 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1267, allocations: 39.95 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1271, allocations: 332.6 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1273, allocations: 82.53 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.1274, allocations: 24.86 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1274, allocations: 16.05 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1276, allocations: 79.42 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1276, allocations: 0 / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00077/0.1284, allocations: 296.9 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1284, allocations: 59.34 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1286, allocations: 190.9 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1286, allocations: 29.7 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.1287, allocations: 116.2 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1287, allocations: 39.45 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1288, allocations: 21.7 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.1289, allocations: 326.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.129, allocations: 35.98 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.1291, allocations: 56.52 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1292, allocations: 101.6 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1292, allocations: 7.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002432/0.1295, allocations: 149.5 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1295, allocations: 6.5 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1295, allocations: 0 / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1295, allocations: 4 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.1296, allocations: 35.86 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1296, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1297, allocations: 4 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1297, allocations: 4 kB / 489.2 MB, free: 13.77 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 (15): * Single equations (assignments): 15 * 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.327e-05/0.1298, allocations: 129.9 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1298, allocations: 15.91 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.1299, allocations: 21.52 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1299, allocations: 3.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1299, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1299, allocations: 4.844 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.1305, allocations: 491.9 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1305, allocations: 0 / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1306, allocations: 27.92 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1306, allocations: 0 / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1306, allocations: 4 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1306, allocations: 0 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1306, allocations: 0 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1309, allocations: 269 kB / 490.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1309, allocations: 92.94 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.131, allocations: 8 kB / 490.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1311, allocations: 4 kB / 490.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1311, allocations: 11.98 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1311, allocations: 7.984 kB / 490.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1312, allocations: 140.3 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 4 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1315, allocations: 43.89 kB / 490.4 MB, free: 12.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001526/0.1331, allocations: 1.189 MB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1333, allocations: 95.91 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1333, allocations: 0 / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1334, allocations: 47.92 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1337, allocations: 34.72 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1358, allocations: 1.883 MB / 493.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.136, allocations: 0.7203 MB / 494.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.276e-05/0.1361, allocations: 25.41 kB / 494.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.1362, allocations: 47.41 kB / 494.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1362, allocations: 0 / 494.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.1518, allocations: 3.586 MB / 498 MB, free: 4.945 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.1521, allocations: 240.3 kB / 498.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.868, allocations: 0 / 498.3 MB, free: 4.688 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches