Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.00139/0.00139, allocations: 111.8 kB / 17.33 MB, free: 6.02 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.001669/0.001669, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.458/1.458, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2033/0.2033, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.64 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003473/0.1127, allocations: 1.749 MB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1141, allocations: 0.8731 MB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.1142, allocations: 0 / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1146, allocations: 35.89 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.1148, allocations: 47.83 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1152, allocations: 103.1 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1154, allocations: 95.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1155, allocations: 4.234 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1156, allocations: 47.77 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.1157, allocations: 27.86 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1158, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1159, allocations: 47.92 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.116, allocations: 23.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.1161, allocations: 35.75 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1163, allocations: 115.9 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1163, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1164, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1164, allocations: 0 / 472 MB, free: 11.42 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.0007432/0.1171, allocations: 418.9 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.1172, allocations: 15.91 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1173, allocations: 34.73 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.1173, allocations: 12.84 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1177, allocations: 212.7 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1177, allocations: 12.36 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1177, allocations: 3.938 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1179, allocations: 61.67 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.118, allocations: 0 / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.118, allocations: 0 / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.118, allocations: 0 / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.1181, allocations: 19.98 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.1186, allocations: 292.7 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1188, allocations: 54.69 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.1189, allocations: 20.84 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.119, allocations: 0 / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.1192, allocations: 71.33 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.1192, allocations: 4 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.1198, allocations: 173.2 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1199, allocations: 55.34 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1201, allocations: 203.3 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1201, allocations: 25.7 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.1202, allocations: 104.1 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1202, allocations: 27.69 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1202, allocations: 25.72 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1203, allocations: 322.8 kB / 474.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.1204, allocations: 23.98 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.1205, allocations: 33.7 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1206, allocations: 57.66 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1206, allocations: 0 / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1208, allocations: 105.5 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1208, allocations: 4 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1208, allocations: 0 / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1209, allocations: 4 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.1209, allocations: 19.92 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.121, allocations: 3.938 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.121, allocations: 11.94 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.121, allocations: 192 / 474.4 MB, free: 8.781 MB / 350.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 (10): * Single equations (assignments): 10 * 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.000139/0.1212, allocations: 129.8 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1212, allocations: 15.84 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1213, allocations: 25.39 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1213, allocations: 0 / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1213, allocations: 0 / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1213, allocations: 3.938 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1217, allocations: 391.7 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1217, allocations: 0 / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1218, allocations: 16.03 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1218, allocations: 7.938 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1218, allocations: 4 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1218, allocations: 3.938 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1218, allocations: 0 / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1221, allocations: 200.2 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.1221, allocations: 89 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1222, allocations: 7.938 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1222, allocations: 4 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1223, allocations: 7.984 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1223, allocations: 8 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1224, allocations: 144.9 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1227, allocations: 24 kB / 475.5 MB, free: 7.617 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: 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 (8): * Single equations (assignments): 6 * 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.001657/0.1244, allocations: 1.111 MB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1246, allocations: 59.92 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1246, allocations: 0 / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.1247, allocations: 39.86 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1251, allocations: 25.48 kB / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1271, allocations: 1.671 MB / 478.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1275, allocations: 0.708 MB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.1276, allocations: 17.19 kB / 479.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.1277, allocations: 39.41 kB / 479.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1277, allocations: 0 / 479.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1441, allocations: 3.264 MB / 482.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.1443, allocations: 238.4 kB / 482.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.982, allocations: 3.938 kB / 482.6 MB, free: 0.5781 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches