Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001918/0.001918, 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.00214/0.00214, 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.476/1.476, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.1971/0.1971, allocations: 44.17 MB / 336.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.39 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1306, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003529/0.1342, allocations: 1.761 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1357, allocations: 0.8614 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1358, allocations: 8 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1361, allocations: 35.89 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1363, allocations: 47.83 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1366, allocations: 91.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1368, allocations: 99.67 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1369, allocations: 8.234 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.137, allocations: 43.73 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.1371, allocations: 31.83 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1371, allocations: 4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.1372, allocations: 43.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1373, allocations: 19.92 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.1374, allocations: 31.75 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1376, allocations: 111.9 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1376, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1376, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1376, allocations: 4 kB / 471.8 MB, free: 11.52 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.0005991/0.1382, allocations: 426.9 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1383, allocations: 8.031 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.1383, allocations: 30.75 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1384, allocations: 16.78 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1386, allocations: 208.8 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1386, allocations: 4.375 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1387, allocations: 3.938 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1388, allocations: 57.67 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1389, allocations: 4 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1389, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1389, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.139, allocations: 15.98 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1394, allocations: 296.7 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1396, allocations: 58.69 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.1396, allocations: 20.84 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1397, allocations: 0 / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1399, allocations: 71.33 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1399, allocations: 0 / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006212/0.1405, allocations: 177.1 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1406, allocations: 59.41 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1408, allocations: 203.3 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1408, allocations: 25.7 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1409, allocations: 104.1 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.141, allocations: 19.72 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.141, allocations: 25.7 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1412, allocations: 326.8 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.1412, allocations: 12 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1413, allocations: 45.64 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1414, allocations: 62.02 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1414, allocations: 0 / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.1416, allocations: 101.6 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1417, allocations: 7.984 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.1417, allocations: 4 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1417, allocations: 12.02 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.1418, allocations: 19.88 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1418, allocations: 0 / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.1419, allocations: 15.92 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1419, allocations: 0 / 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 0.0001262/0.142, allocations: 132.5 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.142, allocations: 7.906 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.1421, allocations: 21.39 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1421, allocations: 0 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1421, allocations: 4 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1421, allocations: 3.938 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.1427, allocations: 391.3 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1427, allocations: 0 / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.1427, allocations: 11.98 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1427, allocations: 3.938 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1427, allocations: 4 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1427, allocations: 3.938 kB / 474.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1428, allocations: 4.031 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.143, allocations: 204.2 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1431, allocations: 85.02 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1431, allocations: 7.922 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.1432, allocations: 4 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1432, allocations: 8 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1433, allocations: 11.98 kB / 475.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1434, allocations: 140 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1437, allocations: 23.98 kB / 475.3 MB, free: 7.723 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.001678/0.1453, allocations: 1.105 MB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1456, allocations: 59.89 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1456, allocations: 64 / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.1457, allocations: 35.98 kB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.146, allocations: 23.98 kB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.148, allocations: 1.68 MB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1484, allocations: 0.7043 MB / 478.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.1485, allocations: 12.88 kB / 478.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.1486, allocations: 39.42 kB / 478.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1486, allocations: 0 / 478.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.1644, allocations: 3.192 MB / 482.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.1647, allocations: 234.8 kB / 482.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/2.887, allocations: 3.938 kB / 482.4 MB, free: 0.7656 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches