Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001151/0.001151, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001017/0.001017, 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.568/1.568, allocations: 222.9 MB / 241.8 MB, free: 13.73 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.2412/0.2412, allocations: 44.18 MB / 336.1 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 68.06 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1388, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003333/0.1421, allocations: 1.718 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1435, allocations: 0.8342 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.1436, allocations: 3.938 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.144, allocations: 63.86 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1442, allocations: 55.8 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1445, allocations: 94.97 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1447, allocations: 99.56 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.1448, allocations: 4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/0.1449, allocations: 43.77 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.145, allocations: 39.84 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.145, allocations: 8 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.1451, allocations: 23.98 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1452, allocations: 19.92 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1452, allocations: 31.73 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1454, allocations: 99.92 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1454, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1455, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1455, allocations: 0 / 471.8 MB, free: 11.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005241/0.146, allocations: 399.1 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.146, allocations: 16.03 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1461, allocations: 34.75 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1461, allocations: 8.844 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1464, allocations: 204 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1464, allocations: 8.359 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1464, allocations: 7.875 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1466, allocations: 45.69 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1466, allocations: 0 / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1466, allocations: 7.984 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1466, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.1467, allocations: 12 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.1469, allocations: 189.6 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1471, allocations: 62.48 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1472, allocations: 20.84 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1472, allocations: 4 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1474, allocations: 67.39 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1474, allocations: 0 / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002847/0.1477, allocations: 89.58 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1478, allocations: 59.34 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.148, allocations: 190.1 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.148, allocations: 25.7 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.148, allocations: 100.1 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1481, allocations: 19.8 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1481, allocations: 17.72 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1482, allocations: 322.8 kB / 473.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.1483, allocations: 12 kB / 473.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.1484, allocations: 33.69 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.1485, allocations: 45.7 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1485, allocations: 7.938 kB / 473.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001647/0.1487, allocations: 81.47 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1487, allocations: 4 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1487, allocations: 4 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1487, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.1488, allocations: 11.98 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1488, allocations: 3.938 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1489, allocations: 4 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1489, allocations: 0 / 473.8 MB, free: 9.246 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 (7): * Single equations (assignments): 7 * 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.542e-05/0.149, allocations: 133.8 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.149, allocations: 15.75 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.149, allocations: 12.31 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1491, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1491, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1491, allocations: 320 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1492, allocations: 193.5 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1492, allocations: 4 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.1493, allocations: 4 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1493, allocations: 4 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1493, allocations: 0 / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1493, allocations: 0 / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1493, allocations: 4 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.1495, allocations: 112.9 kB / 474.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1495, allocations: 85 kB / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1496, allocations: 4 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.1496, allocations: 3.984 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1497, allocations: 12 kB / 474.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1497, allocations: 0 / 474.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1498, allocations: 139.2 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1498, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.15, allocations: 20 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001283/0.1513, allocations: 0.9598 MB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1515, allocations: 35.98 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1515, allocations: 0 / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1516, allocations: 19.98 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1518, allocations: 25.81 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1534, allocations: 1.494 MB / 477.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1537, allocations: 0.7004 MB / 477.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.1538, allocations: 16.55 kB / 477.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.1538, allocations: 27.44 kB / 477.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1539, allocations: 0 / 477.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1667, allocations: 2.836 MB / 480.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.1671, allocations: 236.4 kB / 480.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/1.997, allocations: 3.938 kB / 480.9 MB, free: 2.152 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches