Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001621/0.001621, allocations: 104.7 kB / 16.27 MB, free: 6.004 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: 192.2 kB / 17.2 MB, free: 5.621 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.433/1.433, 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.2372/0.2372, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.00149/0.00149, allocations: 72.59 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1297, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003498/0.1333, allocations: 1.689 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1345, allocations: 0.8 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.1346, allocations: 4 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1349, allocations: 51.75 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1351, allocations: 59.75 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1353, allocations: 87.7 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1354, allocations: 95.69 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1356, allocations: 16.17 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.1356, allocations: 43.78 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.1357, allocations: 23.86 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1357, allocations: 4 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.1358, allocations: 39.98 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1359, allocations: 31.91 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.136, allocations: 39.67 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1362, allocations: 123.6 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1362, allocations: 8 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1362, allocations: 0 / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1362, allocations: 3.938 kB / 443.7 MB, free: 3.672 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005481/0.1368, allocations: 442.6 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1368, allocations: 11.89 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1369, allocations: 30.75 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.1369, allocations: 16.75 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1372, allocations: 223.5 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1372, allocations: 4.375 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1372, allocations: 7.938 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1374, allocations: 57.61 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1374, allocations: 0 / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1374, allocations: 7.984 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1374, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.1375, allocations: 15.98 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1379, allocations: 300.8 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1381, allocations: 62.62 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.1381, allocations: 24.78 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1381, allocations: 0 / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1383, allocations: 71.39 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1383, allocations: 0 / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.1389, allocations: 181.1 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1389, allocations: 55.41 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1391, allocations: 263.7 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1391, allocations: 25.7 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.1392, allocations: 116 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1392, allocations: 27.64 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1393, allocations: 17.72 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.1393, allocations: 334.8 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.1394, allocations: 23.92 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.1395, allocations: 41.64 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.279e-05/0.1396, allocations: 57.77 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1396, allocations: 0 / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.1397, allocations: 101.5 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1397, allocations: 9.281 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1398, allocations: 4 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1398, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.1399, allocations: 15.98 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1399, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1399, allocations: 11.84 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.14, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 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 (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.849e-05/0.1401, allocations: 137.7 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1401, allocations: 11.91 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.1401, allocations: 29.39 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1401, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1402, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1402, allocations: 7.938 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.1405, allocations: 403.2 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1405, allocations: 0 / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.1405, allocations: 8 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1406, allocations: 3.938 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1406, allocations: 4.031 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1406, allocations: 4 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1406, allocations: 4.547 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1407, allocations: 204.2 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.1408, allocations: 88.95 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1409, allocations: 15.88 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.1409, allocations: 8 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.141, allocations: 7.984 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.141, allocations: 4 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1412, allocations: 195.3 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1412, allocations: 4 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1415, allocations: 27.98 kB / 447.4 MB, free: 15.66 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 (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.00148/0.143, allocations: 1.098 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1432, allocations: 63.97 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1432, allocations: 0 / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.1432, allocations: 31.92 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1436, allocations: 26.02 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.1457, allocations: 1.807 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1461, allocations: 0.7195 MB / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1461, allocations: 20.86 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.1462, allocations: 39.42 kB / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1462, allocations: 7.938 kB / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1672, allocations: 3.627 MB / 454.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.953, allocations: 4.062 kB / 454.8 MB, free: 8.152 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches