Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 69.2 kB / 408.6 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003419/0.1122, allocations: 1.785 MB / 471.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1147, allocations: 1.553 MB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1148, allocations: 8 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1152, allocations: 51.69 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1156, allocations: 91.53 kB / 472.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.116, allocations: 174.3 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.1163, allocations: 179.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.1164, allocations: 13.55 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1165, allocations: 71.66 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1167, allocations: 79.61 kB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.1168, allocations: 8 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1169, allocations: 67.91 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.117, allocations: 27.91 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.1171, allocations: 59.55 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1174, allocations: 171.8 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1174, allocations: 0 / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1174, allocations: 0 / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1175, allocations: 0 / 473.7 MB, free: 9.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007114/0.1182, allocations: 474.6 kB / 474.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1182, allocations: 12.03 kB / 474.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1183, allocations: 38.73 kB / 474.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1184, allocations: 12.84 kB / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1187, allocations: 239.8 kB / 474.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1187, allocations: 4.375 kB / 474.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1187, allocations: 7.938 kB / 474.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1189, allocations: 101.1 kB / 474.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.119, allocations: 0 / 474.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.119, allocations: 4 kB / 474.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.119, allocations: 0 / 474.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1191, allocations: 35.91 kB / 474.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1193, allocations: 214.5 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1196, allocations: 113.1 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.1197, allocations: 37.7 kB / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1197, allocations: 4 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.12, allocations: 121 kB / 475.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.554e-06/0.12, allocations: 3.984 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004502/0.1205, allocations: 157.5 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.1206, allocations: 132.5 kB / 475.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1208, allocations: 211.8 kB / 475.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1208, allocations: 33.64 kB / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.1209, allocations: 116.1 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.121, allocations: 31.55 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.121, allocations: 29.72 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1211, allocations: 330.8 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1212, allocations: 23.98 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1213, allocations: 73.14 kB / 476.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1215, allocations: 87.34 kB / 476.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1215, allocations: 11.88 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.1218, allocations: 126 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1218, allocations: 8.094 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1219, allocations: 4 kB / 476.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1219, allocations: 0 / 476.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.122, allocations: 27.92 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.122, allocations: 3.984 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.1221, allocations: 19.98 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1221, allocations: 4 kB / 476.5 MB, free: 6.832 MB / 350.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000127/0.1222, allocations: 129.7 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1223, allocations: 15.81 kB / 476.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1223, allocations: 24.98 kB / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1224, allocations: 0 / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1224, allocations: 0 / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1224, allocations: 4 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1226, allocations: 225.4 kB / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1226, allocations: 0 / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1226, allocations: 4 kB / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1226, allocations: 4 kB / 476.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1226, allocations: 4 kB / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1226, allocations: 0 / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1226, allocations: 4 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1229, allocations: 173.6 kB / 477.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.123, allocations: 88.95 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.123, allocations: 4 kB / 477.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.1231, allocations: 7.984 kB / 477.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1231, allocations: 4 kB / 477.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1232, allocations: 11.98 kB / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1233, allocations: 164.2 kB / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1233, allocations: 0 / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1236, allocations: 39.98 kB / 477.4 MB, free: 5.84 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001406/0.125, allocations: 1.054 MB / 478.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1252, allocations: 83.91 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1253, allocations: 0 / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1254, allocations: 48.05 kB / 478.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1257, allocations: 55.98 kB / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1279, allocations: 1.816 MB / 480.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1282, allocations: 0.7125 MB / 481.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1283, allocations: 33.45 kB / 481.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.1284, allocations: 55.41 kB / 481.2 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1284, allocations: 4 kB / 481.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.1497, allocations: 4.593 MB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.657, allocations: 15.31 kB / 485.8 MB, free: 13.48 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches