Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.0009435/0.0009436, allocations: 97.56 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 172.6 kB / 16.91 MB, free: 6.684 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.549/1.549, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3478/0.3478, allocations: 43.57 MB / 315 MB, free: 9.051 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.0005374/0.0005374, allocations: 12 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 58.87 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002101/0.1318, allocations: 1.421 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1337, allocations: 1.356 MB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.1338, allocations: 4 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.1341, allocations: 39.83 kB / 446.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1343, allocations: 47.83 kB / 446.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1346, allocations: 71.86 kB / 446.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1347, allocations: 95.69 kB / 446.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.1348, allocations: 12.22 kB / 446.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.1349, allocations: 39.78 kB / 446.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1351, allocations: 35.84 kB / 446.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1351, allocations: 0 / 446.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1352, allocations: 63.89 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1353, allocations: 19.92 kB / 446.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.1353, allocations: 53.52 kB / 446.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1356, allocations: 115.9 kB / 446.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1356, allocations: 0 / 446.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1356, allocations: 4 kB / 446.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1356, allocations: 3.938 kB / 446.9 MB, free: 9.406 MB / 382.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.000522/0.1361, allocations: 399.1 kB / 447.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1362, allocations: 8.031 kB / 447.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1362, allocations: 42.69 kB / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1363, allocations: 8.844 kB / 447.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1365, allocations: 200.1 kB / 447.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1365, allocations: 8.375 kB / 447.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1365, allocations: 7.938 kB / 447.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1367, allocations: 71.38 kB / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1367, allocations: 3.938 kB / 447.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1367, allocations: 0 / 447.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1368, allocations: 0 / 447.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.1368, allocations: 23.92 kB / 447.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1372, allocations: 284.9 kB / 448 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1373, allocations: 58.67 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1374, allocations: 16.86 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1374, allocations: 0 / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1376, allocations: 71.31 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1376, allocations: 8 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000485/0.1381, allocations: 165.2 kB / 448.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1382, allocations: 81.11 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1383, allocations: 153.8 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1384, allocations: 29.7 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.1384, allocations: 100 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1385, allocations: 23.66 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1385, allocations: 17.7 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1386, allocations: 326.8 kB / 449 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.1387, allocations: 23.98 kB / 449 MB, free: 7.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.1387, allocations: 38.56 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1389, allocations: 61.64 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1389, allocations: 0 / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.139, allocations: 101.6 kB / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1391, allocations: 4 kB / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1391, allocations: 0 / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1391, allocations: 4 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.1392, allocations: 15.98 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1392, allocations: 192 / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1393, allocations: 8.312 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1393, allocations: 7.938 kB / 449.2 MB, free: 6.82 MB / 382.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 8.737e-05/0.1394, allocations: 121.9 kB / 449.4 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.1394, allocations: 11.91 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.1394, allocations: 16.72 kB / 449.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1394, allocations: 4 kB / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1395, allocations: 0 / 449.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1395, allocations: 3.938 kB / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.1399, allocations: 399.4 kB / 449.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1399, allocations: 0 / 449.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.1399, allocations: 15.97 kB / 449.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1399, allocations: 3.938 kB / 449.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.14, allocations: 4 kB / 449.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.14, allocations: 0 / 449.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.14, allocations: 3.984 kB / 449.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1402, allocations: 200.3 kB / 450 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1403, allocations: 85.02 kB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1403, allocations: 7.938 kB / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1404, allocations: 11.98 kB / 450.1 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1404, allocations: 4 kB / 450.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1404, allocations: 7.984 kB / 450.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.1405, allocations: 118.5 kB / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1405, allocations: 0 / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1408, allocations: 35.89 kB / 450.3 MB, free: 5.684 MB / 382.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.001577/0.1424, allocations: 1.141 MB / 451.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1426, allocations: 59.91 kB / 451.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1426, allocations: 0 / 451.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.1427, allocations: 31.92 kB / 451.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.143, allocations: 27.98 kB / 451.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1446, allocations: 1.573 MB / 453.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1448, allocations: 0.7004 MB / 453.8 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.1449, allocations: 12.88 kB / 453.8 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.145, allocations: 35.42 kB / 453.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.145, allocations: 0 / 453.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/0.3566, allocations: 3.059 MB / 456.9 MB, free: 45.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.3568, allocations: 242.9 kB / 457.1 MB, free: 44.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.293, allocations: 0 / 457.1 MB, free: 44.95 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches