Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001063/0.001063, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001142/0.001142, allocations: 194 kB / 18.12 MB, free: 5.383 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.495/1.495, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2551/0.2551, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 67.61 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1344, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004029/0.1385, allocations: 1.769 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.14, allocations: 0.8537 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.1401, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1405, allocations: 47.77 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1408, allocations: 39.83 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1412, allocations: 103 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1414, allocations: 87.69 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1415, allocations: 12.23 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1416, allocations: 47.72 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.1417, allocations: 31.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1417, allocations: 0 / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1419, allocations: 39.98 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.142, allocations: 19.92 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.1421, allocations: 31.73 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1423, allocations: 111.9 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1423, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1423, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1423, allocations: 0 / 471.8 MB, free: 11.53 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.0006704/0.143, allocations: 419 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.143, allocations: 8.031 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1431, allocations: 38.75 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1431, allocations: 12.75 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1434, allocations: 204.1 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1434, allocations: 384 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1434, allocations: 7.938 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1436, allocations: 57.61 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1436, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1437, allocations: 4 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1437, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.1437, allocations: 23.98 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1441, allocations: 280.9 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1443, allocations: 58.61 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.1444, allocations: 28.78 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1444, allocations: 0 / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.1446, allocations: 67.39 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1446, allocations: 0 / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.1452, allocations: 177.2 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1453, allocations: 51.41 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1455, allocations: 194.1 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1455, allocations: 25.7 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.1455, allocations: 104.1 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1456, allocations: 23.7 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1456, allocations: 21.72 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1457, allocations: 326.8 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.1458, allocations: 15.98 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1459, allocations: 49.95 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.146, allocations: 53.72 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.146, allocations: 0 / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1462, allocations: 113.4 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1462, allocations: 4 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1462, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1462, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.1463, allocations: 23.98 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1463, allocations: 4.031 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.1464, allocations: 3.938 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1464, allocations: 4 kB / 474.2 MB, free: 8.926 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.993e-05/0.1465, allocations: 136.4 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1465, allocations: 11.91 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1466, allocations: 12.72 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1466, allocations: 0 / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1466, allocations: 0 / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1466, allocations: 3.938 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.147, allocations: 387.3 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1471, allocations: 0 / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1471, allocations: 15.98 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1471, allocations: 3.938 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1471, allocations: 4 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1471, allocations: 0 / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1471, allocations: 3.938 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1474, allocations: 216.4 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.1474, allocations: 89 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1474, allocations: 3.938 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1475, allocations: 4 kB / 475 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1476, allocations: 7.984 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1476, allocations: 8 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1477, allocations: 143.2 kB / 475.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1477, allocations: 0 / 475.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1481, allocations: 27.98 kB / 475.2 MB, free: 7.762 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.001456/0.1495, allocations: 1.087 MB / 476.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1497, allocations: 63.95 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1497, allocations: 0 / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.1498, allocations: 23.94 kB / 476.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1502, allocations: 36.09 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.152, allocations: 1.647 MB / 478.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1524, allocations: 0.7004 MB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.1524, allocations: 17.17 kB / 478.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.1525, allocations: 35.42 kB / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1525, allocations: 0 / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.167, allocations: 3.132 MB / 482 MB, free: 1.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1673, allocations: 232.4 kB / 482.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.058, allocations: 3.938 kB / 482.2 MB, free: 0.9062 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches