Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001556/0.001556, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.00171/0.001711, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.49 MB / 313.6 MB, free: 8.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 70.56 kB / 382.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 57.78 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003603/0.1291, allocations: 1.988 MB / 442.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1306, allocations: 0.9599 MB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.1307, allocations: 0 / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.1313, allocations: 183.6 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1317, allocations: 143.6 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.1321, allocations: 179.7 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.1324, allocations: 263.3 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1325, allocations: 25.66 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1327, allocations: 107.5 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1328, allocations: 111.6 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1328, allocations: 12 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.133, allocations: 51.91 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1331, allocations: 51.83 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.1332, allocations: 83.47 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1335, allocations: 243.4 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1335, allocations: 0 / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1335, allocations: 0 / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1335, allocations: 0 / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007507/0.1342, allocations: 0.5427 MB / 445 MB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1343, allocations: 15.89 kB / 445 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.1343, allocations: 30.75 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1344, allocations: 28.66 kB / 445.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1347, allocations: 275.6 kB / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1348, allocations: 16.36 kB / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1348, allocations: 7.938 kB / 445.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.135, allocations: 96.22 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.135, allocations: 3.984 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.135, allocations: 4 kB / 445.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1351, allocations: 0 / 445.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1352, allocations: 43.91 kB / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1357, allocations: 377.6 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1359, allocations: 125.2 kB / 446 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1361, allocations: 45.7 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1361, allocations: 3.984 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.1363, allocations: 120.8 kB / 446.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1363, allocations: 4 kB / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000435/0.1368, allocations: 181.3 kB / 446.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1368, allocations: 106.8 kB / 446.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.1372, allocations: 334.9 kB / 446.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1372, allocations: 29.7 kB / 446.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.1373, allocations: 136.1 kB / 447 MB, free: 7.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1374, allocations: 31.61 kB / 447 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1374, allocations: 29.7 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1376, allocations: 346.8 kB / 447.4 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.1377, allocations: 31.92 kB / 447.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1378, allocations: 77.12 kB / 447.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.138, allocations: 99.39 kB / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.138, allocations: 0 / 447.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.1383, allocations: 149.8 kB / 447.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1383, allocations: 4 kB / 447.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1383, allocations: 128 / 447.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1383, allocations: 8 kB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1384, allocations: 16 kB / 447.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1384, allocations: 12.05 kB / 447.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1385, allocations: 11.94 kB / 447.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1385, allocations: 4 kB / 447.8 MB, free: 6.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001351/0.1387, allocations: 149.7 kB / 447.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1387, allocations: 23.72 kB / 447.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.1388, allocations: 29.73 kB / 448 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1388, allocations: 0 / 448 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1388, allocations: 3.984 kB / 448 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1388, allocations: 11.94 kB / 448 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.139, allocations: 253.5 kB / 448.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.139, allocations: 3.938 kB / 448.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1391, allocations: 8 kB / 448.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1391, allocations: 0 / 448.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1391, allocations: 3.984 kB / 448.3 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1391, allocations: 4 kB / 448.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1391, allocations: 0 / 448.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1394, allocations: 185.5 kB / 448.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1395, allocations: 92.92 kB / 448.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1395, allocations: 3.984 kB / 448.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1396, allocations: 11.98 kB / 448.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1397, allocations: 15.86 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1397, allocations: 8 kB / 448.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.1399, allocations: 249.9 kB / 448.8 MB, free: 5.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1399, allocations: 0 / 448.8 MB, free: 5.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1402, allocations: 43.91 kB / 448.9 MB, free: 5.195 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001484/0.1417, allocations: 1.03 MB / 449.9 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.1419, allocations: 99.89 kB / 450 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.142, allocations: 0 / 450 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1421, allocations: 47.91 kB / 450 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1425, allocations: 77.09 kB / 450.1 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.1452, allocations: 2.319 MB / 452.4 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1455, allocations: 0.7437 MB / 453.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1456, allocations: 33.92 kB / 453.2 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1457, allocations: 71.34 kB / 453.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1457, allocations: 0 / 453.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/0.3377, allocations: 5.367 MB / 458.6 MB, free: 48.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.3379, allocations: 243.5 kB / 458.9 MB, free: 48.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.204, allocations: 3.281 kB / 458.9 MB, free: 48.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches