Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001603/0.001602, allocations: 113 kB / 17.33 MB, free: 6.012 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.002049/0.002049, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.449/1.449, allocations: 222.9 MB / 241.9 MB, free: 13.76 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.2174/0.2174, allocations: 44.18 MB / 336.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 63.91 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003117/0.1261, allocations: 1.761 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1281, allocations: 1.452 MB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.1282, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1286, allocations: 35.84 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1289, allocations: 51.83 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1292, allocations: 103.5 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1294, allocations: 91.7 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1295, allocations: 12.23 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.1296, allocations: 47.77 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1298, allocations: 35.84 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1298, allocations: 4 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.13, allocations: 59.97 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1301, allocations: 23.86 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.1301, allocations: 31.8 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1304, allocations: 120 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1304, allocations: 3.938 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1304, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1304, allocations: 0 / 472.7 MB, free: 10.78 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.0006916/0.1311, allocations: 399.2 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.1312, allocations: 16.02 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.1313, allocations: 34.75 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.1313, allocations: 8.844 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1316, allocations: 204 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1316, allocations: 8.375 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1317, allocations: 7.875 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1319, allocations: 71.39 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1319, allocations: 0 / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1319, allocations: 0 / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1319, allocations: 0 / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.132, allocations: 23.97 kB / 473.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1324, allocations: 288.8 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1327, allocations: 62.67 kB / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1327, allocations: 20.8 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1328, allocations: 0 / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.133, allocations: 75.31 kB / 473.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.133, allocations: 0 / 473.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005871/0.1336, allocations: 173.2 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1337, allocations: 77.11 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1339, allocations: 160.3 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1339, allocations: 25.7 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.134, allocations: 96.12 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.134, allocations: 23.66 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.134, allocations: 29.7 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1342, allocations: 314.8 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.1342, allocations: 23.98 kB / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1343, allocations: 42.94 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1344, allocations: 61.64 kB / 474.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1344, allocations: 0 / 474.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1346, allocations: 97.58 kB / 475 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1346, allocations: 8 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1346, allocations: 4.062 kB / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1347, allocations: 3.984 kB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.1348, allocations: 19.94 kB / 475 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1348, allocations: 4 kB / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.1348, allocations: 3.938 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1348, allocations: 4 kB / 475 MB, free: 8.18 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.09e-05/0.1349, allocations: 121.8 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.135, allocations: 11.91 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.135, allocations: 12.72 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.135, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.135, allocations: 192 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.135, allocations: 7.922 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1355, allocations: 391.3 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1355, allocations: 0 / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1355, allocations: 8 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1355, allocations: 3.938 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1355, allocations: 15.95 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1356, allocations: 4 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1356, allocations: 3.938 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1358, allocations: 196.2 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1358, allocations: 85.02 kB / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1359, allocations: 7.938 kB / 475.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.136, allocations: 4 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.136, allocations: 11.98 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.136, allocations: 4 kB / 475.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.1361, allocations: 117.7 kB / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1361, allocations: 0 / 476 MB, free: 7.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1364, allocations: 35.98 kB / 476 MB, free: 7.051 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.001622/0.138, allocations: 1.132 MB / 477.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1383, allocations: 67.91 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1383, allocations: 0 / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.1384, allocations: 31.92 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1387, allocations: 23.98 kB / 477.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1404, allocations: 1.56 MB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1407, allocations: 0.7002 MB / 479.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.1408, allocations: 20.86 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1408, allocations: 31.42 kB / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1408, allocations: 0 / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.156, allocations: 3.389 MB / 483 MB, free: 268 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1563, allocations: 245.4 kB / 483.2 MB, free: 4 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.064, allocations: 4 kB / 483.2 MB, free: 0 / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches