Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001069/0.001069, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001022/0.001022, allocations: 192 kB / 18.56 MB, free: 4.434 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.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.204/0.204, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 77 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 60.81 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00322/0.1197, allocations: 1.711 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1212, allocations: 0.8808 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1213, allocations: 7.938 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1215, allocations: 31.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1218, allocations: 59.69 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1221, allocations: 110.4 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1223, allocations: 91.75 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1224, allocations: 20.16 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.1225, allocations: 39.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.1225, allocations: 31.84 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1226, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.1227, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1227, allocations: 19.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.1228, allocations: 35.73 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.123, allocations: 107.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.123, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.123, allocations: 3.938 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.123, allocations: 4 kB / 472.5 MB, free: 11.06 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.0005571/0.1236, allocations: 415 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1236, allocations: 12.03 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.1237, allocations: 30.75 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1237, allocations: 12.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1239, allocations: 212.1 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.124, allocations: 384 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.124, allocations: 7.938 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1241, allocations: 57.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1242, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1242, allocations: 3.938 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1242, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.1243, allocations: 19.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1246, allocations: 280.9 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1248, allocations: 66.61 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.1249, allocations: 24.78 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1249, allocations: 0 / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1251, allocations: 67.39 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1251, allocations: 0 / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.1256, allocations: 177.2 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1256, allocations: 59.39 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1258, allocations: 186.1 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1258, allocations: 29.7 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.1259, allocations: 104.1 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1259, allocations: 23.7 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.126, allocations: 21.72 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1261, allocations: 326.8 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.1261, allocations: 19.98 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1262, allocations: 37.7 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1263, allocations: 57.66 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1263, allocations: 0 / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1265, allocations: 109.4 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1265, allocations: 4 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1265, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1266, allocations: 4.031 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.1267, allocations: 16.19 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1267, allocations: 3.984 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1267, allocations: 15.88 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.1267, allocations: 0 / 474.9 MB, free: 8.461 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 9.064e-05/0.1268, allocations: 117.8 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1269, allocations: 15.89 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1269, allocations: 16.72 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1269, allocations: 7.938 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1269, allocations: 0 / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1269, allocations: 7.938 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1273, allocations: 375.4 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1274, allocations: 3.938 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1274, allocations: 11.98 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1274, allocations: 3.938 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1274, allocations: 8 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1275, allocations: 8.203 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1275, allocations: 0 / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1277, allocations: 204.2 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.1277, allocations: 85.02 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1278, allocations: 11.92 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1278, allocations: 4.375 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1279, allocations: 11.94 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1279, allocations: 15.97 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.128, allocations: 143.2 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.128, allocations: 0 / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1283, allocations: 27.98 kB / 476 MB, free: 7.293 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.001379/0.1297, allocations: 1.081 MB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1299, allocations: 67.89 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1299, allocations: 4.062 kB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.13, allocations: 23.94 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1303, allocations: 39.84 kB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.132, allocations: 1.623 MB / 478.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1323, allocations: 0.7002 MB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.1323, allocations: 16.86 kB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.1324, allocations: 39.42 kB / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1324, allocations: 0 / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.1564, allocations: 3.287 MB / 482.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.779, allocations: 9.812 kB / 482.8 MB, free: 0.5273 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches