Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001125/0.001125, allocations: 105.3 kB / 16.27 MB, free: 6.41 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.001162/0.001162, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.667/1.667, 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.2405/0.2405, 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.001578/0.001578, allocations: 77.45 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003081/0.1291, allocations: 1.716 MB / 442.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1302, allocations: 0.8 MB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.1303, allocations: 0 / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1306, allocations: 111.6 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1309, allocations: 79.72 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1311, allocations: 87.75 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1313, allocations: 127.7 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1314, allocations: 15.94 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1315, allocations: 59.77 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.1316, allocations: 63.75 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1316, allocations: 7.938 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.1317, allocations: 47.97 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.1317, allocations: 27.92 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1318, allocations: 51.67 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.132, allocations: 135.6 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.132, allocations: 0 / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.132, allocations: 0 / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.132, allocations: 0 / 443.9 MB, free: 3.445 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004827/0.1325, allocations: 454.5 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1325, allocations: 11.89 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.1326, allocations: 30.75 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.1326, allocations: 16.75 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1328, allocations: 224 kB / 444.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1329, allocations: 384 / 444.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1329, allocations: 11.94 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.133, allocations: 69.59 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1331, allocations: 0 / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1331, allocations: 4 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1331, allocations: 3.938 kB / 444.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.1332, allocations: 35.97 kB / 444.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1335, allocations: 320.7 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1337, allocations: 66.73 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1338, allocations: 32.83 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1338, allocations: 4 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.134, allocations: 83.39 kB / 445.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.134, allocations: 0 / 445.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005552/0.1346, allocations: 228.9 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.1346, allocations: 59.33 kB / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1348, allocations: 246.3 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1348, allocations: 29.7 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1349, allocations: 112.1 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1349, allocations: 39.55 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1349, allocations: 29.7 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.135, allocations: 322.8 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1351, allocations: 35.98 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1351, allocations: 49.33 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1353, allocations: 81.64 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1353, allocations: 4 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.1355, allocations: 133.4 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1355, allocations: 4 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1355, allocations: 0 / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1355, allocations: 4 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.1356, allocations: 23.92 kB / 446.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1356, allocations: 3.938 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.1357, allocations: 11.94 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1357, allocations: 4 kB / 446.7 MB, free: 472 kB / 318.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 (13): * Single equations (assignments): 13 * 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.139e-05/0.1358, allocations: 137.8 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1358, allocations: 15.81 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1359, allocations: 25.39 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1359, allocations: 4 kB / 446.9 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1359, allocations: 3.938 kB / 446.9 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1359, allocations: 0 / 446.9 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1364, allocations: 451.1 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1364, allocations: 4.031 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.1364, allocations: 23.92 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1364, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1365, allocations: 4 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1365, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1365, allocations: 0 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1367, allocations: 236.3 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1368, allocations: 96.84 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1368, allocations: 8 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1369, allocations: 0 / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1369, allocations: 15.98 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.137, allocations: 4 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1371, allocations: 188.2 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1374, allocations: 31.98 kB / 447.9 MB, free: 15.13 MB / 334.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 (11): * Single equations (assignments): 9 * 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.001411/0.1388, allocations: 1.119 MB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.139, allocations: 87.84 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.139, allocations: 0 / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1391, allocations: 43.86 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1394, allocations: 29.95 kB / 449.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1415, allocations: 1.881 MB / 451.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.1419, allocations: 0.72 MB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.142, allocations: 25.06 kB / 451.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1421, allocations: 43.42 kB / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1421, allocations: 0 / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.1634, allocations: 3.846 MB / 455.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.779, allocations: 4.062 kB / 455.7 MB, free: 7.266 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches