Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001142/0.001142, allocations: 106.7 kB / 17.21 MB, free: 6.27 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.00135/0.00135, allocations: 194 kB / 18.12 MB, free: 5.363 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.489/1.489, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2433/0.2433, allocations: 44.18 MB / 336.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 61.88 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1316, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003111/0.1347, allocations: 1.756 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1361, allocations: 0.8653 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.1362, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1365, allocations: 39.83 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1367, allocations: 43.83 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.137, allocations: 90.33 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1372, allocations: 95.69 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.1373, allocations: 20.22 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.1374, allocations: 39.73 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.1375, allocations: 27.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1375, allocations: 4 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1376, allocations: 39.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.1377, allocations: 15.92 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.1377, allocations: 39.72 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1379, allocations: 111.9 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1379, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1379, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.138, allocations: 11.88 kB / 471.8 MB, free: 11.51 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.0005216/0.1385, allocations: 422.9 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.1385, allocations: 8.031 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1386, allocations: 38.73 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1386, allocations: 12.84 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1388, allocations: 212.8 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1389, allocations: 384 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1389, allocations: 3.938 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.139, allocations: 65.61 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1391, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1391, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1391, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.1392, allocations: 23.98 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1395, allocations: 284.8 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1397, allocations: 62.61 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.1397, allocations: 20.86 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1398, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.14, allocations: 63.39 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.14, allocations: 0 / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005335/0.1405, allocations: 181.4 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1405, allocations: 55.41 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1407, allocations: 199.3 kB / 473.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1407, allocations: 29.7 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1408, allocations: 100.1 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1408, allocations: 23.7 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1409, allocations: 25.72 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.141, allocations: 322.8 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.141, allocations: 31.92 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.1411, allocations: 37.64 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1412, allocations: 57.84 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1412, allocations: 0 / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1414, allocations: 109.4 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1415, allocations: 6.344 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1415, allocations: 0 / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1415, allocations: 8.031 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1416, allocations: 15.98 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1416, allocations: 192 / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.1416, allocations: 7.938 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1416, allocations: 3.938 kB / 474.2 MB, free: 8.875 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.78e-05/0.1417, allocations: 137.7 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1418, allocations: 7.906 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.1418, allocations: 17.41 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1418, allocations: 4 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1418, allocations: 0 / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1419, allocations: 7.922 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.1423, allocations: 391.3 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1423, allocations: 0 / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1423, allocations: 8 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1423, allocations: 3.938 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1424, allocations: 4 kB / 474.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1424, allocations: 4.031 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1424, allocations: 0 / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1426, allocations: 208.2 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.1426, allocations: 85.02 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1427, allocations: 7.875 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1427, allocations: 11.98 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1428, allocations: 11.98 kB / 475.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1428, allocations: 4 kB / 475.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1429, allocations: 148.9 kB / 475.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 0 / 475.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1432, allocations: 24 kB / 475.3 MB, free: 7.707 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.001375/0.1446, allocations: 1.103 MB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1448, allocations: 55.92 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1448, allocations: 4.062 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.1449, allocations: 35.91 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1452, allocations: 25.81 kB / 476.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1469, allocations: 1.68 MB / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1472, allocations: 0.7004 MB / 478.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.1473, allocations: 17.19 kB / 478.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.1474, allocations: 39.42 kB / 478.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1474, allocations: 0 / 478.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.1621, allocations: 3.177 MB / 482.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.1624, allocations: 234.6 kB / 482.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.042, allocations: 4 kB / 482.3 MB, free: 0.7656 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches