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.001209/0.001209, allocations: 105.9 kB / 17.32 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.09 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.14 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 62.45 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003233/0.1203, allocations: 1.98 MB / 481.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1221, allocations: 1.099 MB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.1222, allocations: 0 / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1226, allocations: 155.6 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.123, allocations: 171.4 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1233, allocations: 95.78 kB / 483.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1236, allocations: 247.3 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1237, allocations: 25.67 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1239, allocations: 111.5 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1241, allocations: 143.5 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1241, allocations: 8 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1243, allocations: 63.98 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.1243, allocations: 59.75 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.1244, allocations: 83.36 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1247, allocations: 219.5 kB / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1247, allocations: 0 / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1247, allocations: 0 / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1248, allocations: 0 / 484 MB, free: 1.02 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.0006868/0.1254, allocations: 0.5448 MB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1255, allocations: 8.031 kB / 484.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.1255, allocations: 38.75 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1256, allocations: 28.64 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1259, allocations: 275.5 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1259, allocations: 384 / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.126, allocations: 19.92 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1262, allocations: 109.6 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1262, allocations: 7.984 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1263, allocations: 3.984 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1263, allocations: 4 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1264, allocations: 43.97 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.127, allocations: 468.6 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.1274, allocations: 133.1 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1275, allocations: 41.83 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1276, allocations: 4 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.1279, allocations: 120.3 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.1279, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001464/0.1294, allocations: 488.9 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.1295, allocations: 77.11 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.1299, allocations: 379.3 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.1299, allocations: 29.7 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.1301, allocations: 148.4 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.1302, allocations: 79.02 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.1302, allocations: 41.7 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1304, allocations: 338.8 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1305, allocations: 59.97 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1307, allocations: 95.41 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.131, allocations: 163.4 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.131, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000407/0.1314, allocations: 233.1 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1314, allocations: 10.81 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1314, allocations: 4 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1314, allocations: 0 / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1316, allocations: 51.91 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1316, allocations: 0 / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.1317, allocations: 4 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1317, allocations: 12.23 kB / 488 MB, free: 12.74 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.0001485/0.1319, allocations: 162.3 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1319, allocations: 39.56 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.132, allocations: 37.81 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.132, allocations: 4 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.132, allocations: 0 / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.132, allocations: 3.984 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.133, allocations: 0.7194 MB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.133, allocations: 0 / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.1331, allocations: 35.92 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1331, allocations: 4 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1331, allocations: 4 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1331, allocations: 4 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1331, allocations: 3.938 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1336, allocations: 420.8 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1337, allocations: 100.8 kB / 489.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.1337, allocations: 7.984 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1339, allocations: 12.19 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.1339, allocations: 31.84 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1339, allocations: 15.92 kB / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1342, allocations: 273.9 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1342, allocations: 0 / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1346, allocations: 51.98 kB / 489.9 MB, free: 10.71 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.001882/0.1365, allocations: 1.351 MB / 491.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1369, allocations: 171.8 kB / 491.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1369, allocations: 4 kB / 491.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.137, allocations: 76.09 kB / 491.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1376, allocations: 73.95 kB / 491.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1408, allocations: 2.764 MB / 494.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1412, allocations: 0.7636 MB / 495.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1413, allocations: 41.86 kB / 495.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1415, allocations: 91.39 kB / 495.3 MB, free: 5.383 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1415, allocations: 0 / 495.3 MB, free: 5.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1597, allocations: 5.858 MB / 0.4894 GB, free: 15.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1599, allocations: 244.6 kB / 0.4896 GB, free: 15.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.051, allocations: 0 / 0.4896 GB, free: 15.38 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