Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001105/0.001105, allocations: 108.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.0009903/0.0009902, 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.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2031/0.2031, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 64.16 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1287, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003361/0.1321, allocations: 1.721 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1336, allocations: 0.8459 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1337, allocations: 3.938 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.1341, allocations: 47.88 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1343, allocations: 47.83 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1346, allocations: 87.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1348, allocations: 91.69 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.1349, allocations: 11.92 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.135, allocations: 35.8 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.907e-05/0.1351, allocations: 43.83 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1351, allocations: 4 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.1352, allocations: 31.98 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.1353, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.1354, allocations: 43.66 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1356, allocations: 92 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1356, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1356, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1356, allocations: 0 / 471.7 MB, free: 11.62 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.0005424/0.1361, allocations: 399 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1362, allocations: 15.97 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1362, allocations: 34.75 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1363, allocations: 12.83 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1365, allocations: 196.2 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1366, allocations: 4.375 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1366, allocations: 3.938 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1367, allocations: 53.61 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1367, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1368, allocations: 4 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1368, allocations: 7.984 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1369, allocations: 15.98 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.137, allocations: 173.7 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1372, allocations: 58.55 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1373, allocations: 20.8 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1373, allocations: 4 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1375, allocations: 67.39 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1376, allocations: 0 / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002976/0.1379, allocations: 89.58 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1379, allocations: 63.33 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1381, allocations: 171.1 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1381, allocations: 33.7 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.1382, allocations: 96.14 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1382, allocations: 15.8 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1382, allocations: 21.72 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1384, allocations: 318.8 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.1384, allocations: 15.98 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.1385, allocations: 29.72 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1386, allocations: 41.7 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1386, allocations: 7.875 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.1388, allocations: 89.84 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1388, allocations: 4 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1388, allocations: 0 / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1388, allocations: 0 / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.1389, allocations: 15.98 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1389, allocations: 0 / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.139, allocations: 3.906 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.139, allocations: 11.97 kB / 473.8 MB, free: 9.328 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.195e-05/0.1391, allocations: 125.8 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.1391, allocations: 7.906 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1392, allocations: 12.31 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1392, allocations: 0 / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1392, allocations: 0 / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1392, allocations: 3.938 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1394, allocations: 193.5 kB / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1394, allocations: 0 / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.1394, allocations: 8 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1394, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1394, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1394, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1394, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1396, allocations: 112.9 kB / 474.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1397, allocations: 85.02 kB / 474.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1397, allocations: 0 / 474.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.1398, allocations: 11.98 kB / 474.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1398, allocations: 0 / 474.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1398, allocations: 4 kB / 474.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1399, allocations: 135.1 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1399, allocations: 0 / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1402, allocations: 15.98 kB / 474.5 MB, free: 8.527 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.001302/0.1415, allocations: 0.9608 MB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1416, allocations: 39.92 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1416, allocations: 0 / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.1417, allocations: 19.98 kB / 475.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.142, allocations: 29.84 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1436, allocations: 1.456 MB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1438, allocations: 0.6965 MB / 477.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.1439, allocations: 20.55 kB / 477.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.144, allocations: 23.42 kB / 477.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.144, allocations: 0 / 477.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1577, allocations: 2.775 MB / 480.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1579, allocations: 237.4 kB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.882, allocations: 3.938 kB / 480.7 MB, free: 2.359 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches