Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.001202/0.001202, allocations: 107.4 kB / 17.21 MB, free: 6.289 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.001155/0.001155, allocations: 194 kB / 18.12 MB, free: 5.383 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.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2742/0.2742, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 68.39 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 60.84 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002982/0.1214, allocations: 1.752 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1227, allocations: 0.8614 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.1228, allocations: 8 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.123, allocations: 35.89 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1232, allocations: 39.83 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1235, allocations: 99.52 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1237, allocations: 91.7 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.1238, allocations: 12.22 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1239, allocations: 35.8 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.1239, allocations: 31.84 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.124, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1241, allocations: 47.91 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.1241, allocations: 19.92 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1242, allocations: 27.75 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1243, allocations: 107.9 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1244, allocations: 8 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.1244, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1244, allocations: 0 / 471.8 MB, free: 11.55 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.0004507/0.1248, allocations: 411.1 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1249, allocations: 8.031 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1249, allocations: 38.69 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.125, allocations: 16.75 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1252, allocations: 204.1 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1252, allocations: 4.375 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1252, allocations: 7.938 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1253, allocations: 53.61 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1254, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1254, allocations: 12 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1254, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.1255, allocations: 19.98 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.1258, allocations: 288.8 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.126, allocations: 54.67 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.126, allocations: 24.86 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1261, allocations: 3.938 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1262, allocations: 75.3 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.1263, allocations: 0 / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.1268, allocations: 169.2 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1268, allocations: 51.41 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.127, allocations: 194.1 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.127, allocations: 29.7 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1271, allocations: 104.1 kB / 473.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1271, allocations: 23.7 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1272, allocations: 25.7 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1273, allocations: 322.8 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.1273, allocations: 19.98 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1274, allocations: 33.72 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1275, allocations: 65.64 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1275, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.1277, allocations: 101.5 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1277, allocations: 8 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1278, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1278, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.1279, allocations: 15.94 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1279, allocations: 8.031 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.1279, allocations: 7.922 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1279, allocations: 4 kB / 474.2 MB, free: 8.953 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 8.981e-05/0.128, allocations: 121.8 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1281, allocations: 7.906 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1281, allocations: 20.7 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1281, allocations: 0 / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1281, allocations: 0 / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1281, allocations: 4.125 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1285, allocations: 395.3 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1286, allocations: 4.312 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1286, allocations: 11.98 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1286, allocations: 3.938 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1286, allocations: 4 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1286, allocations: 7.938 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1286, allocations: 0 / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1289, allocations: 212.2 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1289, allocations: 85.02 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1289, allocations: 3.938 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.129, allocations: 7.984 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1291, allocations: 4 kB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1291, allocations: 4 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1292, allocations: 151.2 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1292, allocations: 0 / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1295, allocations: 24 kB / 475.2 MB, free: 7.793 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.001351/0.1308, allocations: 1.097 MB / 476.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.131, allocations: 59.91 kB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.131, allocations: 0 / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.1311, allocations: 24 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1314, allocations: 36.03 kB / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.133, allocations: 1.652 MB / 478.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1332, allocations: 0.7004 MB / 478.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1333, allocations: 17.17 kB / 478.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1333, allocations: 35.42 kB / 478.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1333, allocations: 0 / 478.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.1466, allocations: 3.135 MB / 482 MB, free: 1.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.1468, allocations: 232.4 kB / 482.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.189, allocations: 7.938 kB / 482.2 MB, free: 0.9219 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches