Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001418/0.001419, allocations: 112.3 kB / 17.33 MB, free: 6.012 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.00176/0.00176, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.452/1.452, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2252/0.2252, allocations: 44.18 MB / 336.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 62.45 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 60.83 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003755/0.1278, allocations: 1.944 MB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1301, allocations: 0.9783 MB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1303, allocations: 4 kB / 471.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.1309, allocations: 155.6 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.1315, allocations: 123.7 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.1322, allocations: 158.2 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.1327, allocations: 231.3 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1329, allocations: 21.67 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1331, allocations: 111.5 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1334, allocations: 135.5 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1334, allocations: 8 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1336, allocations: 59.98 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.1337, allocations: 55.81 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1338, allocations: 79.36 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1342, allocations: 215.5 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1342, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1342, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1343, allocations: 4 kB / 473.1 MB, free: 10.38 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009452/0.1352, allocations: 0.5215 MB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1353, allocations: 12.03 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.1354, allocations: 34.75 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.1355, allocations: 28.59 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1359, allocations: 267.6 kB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1359, allocations: 8.375 kB / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1359, allocations: 7.938 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1362, allocations: 114.4 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1362, allocations: 7.938 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1362, allocations: 0 / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1363, allocations: 0 / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1364, allocations: 51.95 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.137, allocations: 468.6 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.1374, allocations: 117.2 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.1375, allocations: 49.77 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1375, allocations: 4 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.1378, allocations: 121 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.1378, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001708/0.1395, allocations: 497 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1396, allocations: 81.11 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.1402, allocations: 355 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.1403, allocations: 33.7 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1404, allocations: 144.5 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.1405, allocations: 67.05 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.1406, allocations: 41.7 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1408, allocations: 338.8 kB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.141, allocations: 63.97 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1412, allocations: 95.33 kB / 476.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.1417, allocations: 155.5 kB / 476.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1417, allocations: 4 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006713/0.1424, allocations: 237 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1424, allocations: 7.984 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1424, allocations: 4 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1424, allocations: 0 / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1426, allocations: 39.98 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1426, allocations: 0 / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.1427, allocations: 11.94 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.1427, allocations: 20.05 kB / 477 MB, free: 6.152 MB / 350.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002052/0.1429, allocations: 150.3 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.143, allocations: 31.56 kB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1431, allocations: 37.73 kB / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1431, allocations: 4 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1432, allocations: 0 / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1432, allocations: 7.969 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1446, allocations: 0.7193 MB / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.1446, allocations: 4 kB / 478 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1448, allocations: 31.92 kB / 478 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1448, allocations: 4 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1448, allocations: 7.984 kB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.1448, allocations: 8.125 kB / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.1448, allocations: 7.938 kB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.1455, allocations: 419.4 kB / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.1456, allocations: 104.7 kB / 478.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.1457, allocations: 4 kB / 478.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.146, allocations: 11.98 kB / 478.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.1461, allocations: 19.92 kB / 478.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.1462, allocations: 12 kB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.1466, allocations: 261.9 kB / 478.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1466, allocations: 4 kB / 478.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.147, allocations: 51.98 kB / 478.9 MB, free: 4.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002691/0.1497, allocations: 1.349 MB / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006046/0.1504, allocations: 169.2 kB / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1504, allocations: 0 / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1506, allocations: 79.84 kB / 480.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.1514, allocations: 73.78 kB / 480.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.1562, allocations: 2.71 MB / 483.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.1568, allocations: 0.76 MB / 484 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.157, allocations: 33.94 kB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.1572, allocations: 91.39 kB / 484.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1572, allocations: 7.875 kB / 484.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1809, allocations: 5.722 MB / 489.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.1811, allocations: 245.7 kB / 490.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.106, allocations: 0 / 490.1 MB, free: 9.059 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches