Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.001612/0.001612, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.00172/0.00172, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2343/0.2343, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 73.78 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1198, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002766/0.1226, allocations: 1.829 MB / 442.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1239, allocations: 0.9013 MB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.124, allocations: 4 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1245, allocations: 259.4 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1248, allocations: 179.4 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.1251, allocations: 151.2 kB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1253, allocations: 231.4 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1255, allocations: 29.48 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1256, allocations: 127.5 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1257, allocations: 175.5 kB / 444.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1257, allocations: 12 kB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.1258, allocations: 51.92 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.1259, allocations: 59.75 kB / 444.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.126, allocations: 75.38 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1262, allocations: 223.2 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1262, allocations: 0 / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1262, allocations: 4 kB / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1262, allocations: 0 / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005604/0.1268, allocations: 0.5563 MB / 445.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1268, allocations: 15.89 kB / 445.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.1269, allocations: 38.73 kB / 445.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1269, allocations: 28.56 kB / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1271, allocations: 280 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1272, allocations: 12.36 kB / 445.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1272, allocations: 11.88 kB / 445.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1274, allocations: 95.3 kB / 445.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1274, allocations: 4 kB / 445.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1274, allocations: 4 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1274, allocations: 0 / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1275, allocations: 39.97 kB / 446 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1279, allocations: 456.8 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1281, allocations: 129.3 kB / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.1282, allocations: 41.69 kB / 446.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1282, allocations: 4 kB / 446.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1285, allocations: 113 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1285, allocations: 3.938 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007094/0.1292, allocations: 383.8 kB / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1293, allocations: 81.05 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.1297, allocations: 481.7 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1298, allocations: 33.64 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1299, allocations: 164.3 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.1299, allocations: 47.39 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.13, allocations: 33.7 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1302, allocations: 354.7 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1303, allocations: 39.94 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1304, allocations: 76.61 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1306, allocations: 115.3 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1306, allocations: 0 / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003261/0.131, allocations: 185.1 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.131, allocations: 4 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.131, allocations: 8.062 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.131, allocations: 0 / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1312, allocations: 43.86 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1312, allocations: 0 / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.1313, allocations: 7.984 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1313, allocations: 4 kB / 448.7 MB, free: 14.37 MB / 334.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 (20): * Single equations (assignments): 20 * 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.0002261/0.1315, allocations: 173.7 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.1316, allocations: 27.62 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.1316, allocations: 46.81 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1316, allocations: 3.938 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1316, allocations: 0.75 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1317, allocations: 7.984 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.1324, allocations: 0.6284 MB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1324, allocations: 0 / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.1325, allocations: 28.06 kB / 449.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1325, allocations: 0 / 449.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1325, allocations: 7.984 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1325, allocations: 0 / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1325, allocations: 4 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.1329, allocations: 371.9 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.133, allocations: 100.7 kB / 450.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.133, allocations: 8 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1332, allocations: 7.984 kB / 450.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1332, allocations: 11.98 kB / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1332, allocations: 8 kB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003386/0.1336, allocations: 363.1 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1336, allocations: 0 / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1339, allocations: 43.94 kB / 450.6 MB, free: 12.44 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001598/0.1355, allocations: 1.261 MB / 451.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1358, allocations: 127.8 kB / 451.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1358, allocations: 0 / 451.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1359, allocations: 60.05 kB / 452 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1364, allocations: 59.14 kB / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.14, allocations: 2.761 MB / 454.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.1406, allocations: 0.7787 MB / 455.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1407, allocations: 29.92 kB / 455.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1408, allocations: 87.41 kB / 455.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1408, allocations: 0 / 455.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1695, allocations: 5.869 MB / 461.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.628, allocations: 11.91 kB / 461.6 MB, free: 1.293 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches