Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001428/0.001428, allocations: 109.1 kB / 17.33 MB, free: 6.008 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.001786/0.001786, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.451/1.451, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2313/0.2313, allocations: 44.17 MB / 336.2 MB, free: 2.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 64.59 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1432, allocations: 60.83 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003954/0.1472, allocations: 1.756 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1489, allocations: 0.8653 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.149, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1494, allocations: 35.89 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1497, allocations: 55.77 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.1501, allocations: 94.83 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1504, allocations: 99.67 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1505, allocations: 20.22 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1507, allocations: 39.8 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1508, allocations: 39.77 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1508, allocations: 4 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.151, allocations: 39.98 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.1511, allocations: 23.92 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.1512, allocations: 35.73 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1515, allocations: 123.8 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1515, allocations: 4 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1515, allocations: 0 / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1515, allocations: 0 / 472.1 MB, free: 11.36 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.0007751/0.1523, allocations: 426.9 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/0.1524, allocations: 8.031 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1524, allocations: 34.75 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1525, allocations: 16.75 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1529, allocations: 216.5 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1529, allocations: 4.375 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1529, allocations: 7.938 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1531, allocations: 53.67 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1532, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1532, allocations: 3.938 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1532, allocations: 4 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1533, allocations: 19.92 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1538, allocations: 300.7 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.154, allocations: 58.67 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1541, allocations: 20.84 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1542, allocations: 4 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.1544, allocations: 67.33 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.779e-06/0.1544, allocations: 4 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006929/0.1551, allocations: 177.2 kB / 473.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1552, allocations: 55.41 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1555, allocations: 226.5 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1555, allocations: 25.7 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.1556, allocations: 112.1 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1556, allocations: 23.64 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.1557, allocations: 21.72 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1558, allocations: 326.8 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.1559, allocations: 23.98 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.156, allocations: 37.7 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1561, allocations: 61.64 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1561, allocations: 0 / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.1563, allocations: 97.58 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1563, allocations: 11.97 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1563, allocations: 0 / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1563, allocations: 0 / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.1564, allocations: 19.98 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1565, allocations: 0 / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1565, allocations: 8.312 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1565, allocations: 4 kB / 474.5 MB, free: 8.676 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.0001054/0.1566, allocations: 129.8 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1567, allocations: 15.81 kB / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1567, allocations: 25.39 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1567, allocations: 0 / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1568, allocations: 8 kB / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1568, allocations: 3.938 kB / 474.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.1572, allocations: 395.5 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1572, allocations: 192 / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.1573, allocations: 15.92 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1573, allocations: 11.91 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1573, allocations: 7.984 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1573, allocations: 0 / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1573, allocations: 0 / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1576, allocations: 200.2 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1576, allocations: 85.02 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.1577, allocations: 11.92 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.1577, allocations: 4 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1578, allocations: 8 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1578, allocations: 7.984 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.158, allocations: 172.2 kB / 475.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.158, allocations: 0 / 475.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1583, allocations: 28 kB / 475.6 MB, free: 7.465 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.001743/0.16, allocations: 1.09 MB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1602, allocations: 71.89 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1602, allocations: 0 / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1603, allocations: 27.94 kB / 476.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1607, allocations: 23.97 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1625, allocations: 1.743 MB / 478.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1629, allocations: 0.7041 MB / 479.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.1629, allocations: 20.88 kB / 479.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.163, allocations: 39.42 kB / 479.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.163, allocations: 0 / 479.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.1777, allocations: 3.371 MB / 482.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.178, allocations: 239.3 kB / 482.9 MB, free: 272 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.018, allocations: 0 / 482.9 MB, free: 272 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches