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.001611/0.00161, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.002222/0.002222, allocations: 192 kB / 18.56 MB, free: 4.434 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.402/1.402, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2129/0.2129, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.8 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003389/0.1225, allocations: 1.894 MB / 471.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1241, allocations: 0.9782 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1243, allocations: 0 / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1246, allocations: 167.4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.125, allocations: 139.5 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.1255, allocations: 179.3 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.1258, allocations: 231.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1259, allocations: 29.66 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1261, allocations: 107.6 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1262, allocations: 131.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1263, allocations: 8 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1264, allocations: 55.98 kB / 473.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.1265, allocations: 55.83 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1266, allocations: 75.42 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.1269, allocations: 223.5 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1269, allocations: 0 / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1269, allocations: 0 / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1269, allocations: 0 / 473.6 MB, free: 10.02 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.0006894/0.1276, allocations: 0.5138 MB / 474.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1276, allocations: 11.97 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1277, allocations: 42.73 kB / 474.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.1278, allocations: 24.66 kB / 474.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1281, allocations: 271.5 kB / 474.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1281, allocations: 16.36 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1281, allocations: 7.938 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1284, allocations: 110.4 kB / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1284, allocations: 0 / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1284, allocations: 4 kB / 474.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1284, allocations: 0 / 474.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1286, allocations: 47.91 kB / 474.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1291, allocations: 468.7 kB / 475.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.1295, allocations: 121.2 kB / 475.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.1296, allocations: 49.81 kB / 475.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1296, allocations: 4 kB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.1299, allocations: 120.9 kB / 475.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1299, allocations: 0 / 475.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001247/0.1311, allocations: 489.1 kB / 475.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1312, allocations: 81.11 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.1315, allocations: 351 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1316, allocations: 29.7 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.1316, allocations: 144.5 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.1317, allocations: 71.09 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.1318, allocations: 45.7 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1319, allocations: 342.8 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1321, allocations: 55.97 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1322, allocations: 95.28 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.1325, allocations: 163.6 kB / 477.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1325, allocations: 3.938 kB / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003755/0.1329, allocations: 233 kB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1329, allocations: 4 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1329, allocations: 0 / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1329, allocations: 4 kB / 477.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1331, allocations: 47.91 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1331, allocations: 4 kB / 477.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.1332, allocations: 12.06 kB / 477.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1332, allocations: 12 kB / 477.5 MB, free: 5.801 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.0001417/0.1333, allocations: 157.7 kB / 477.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1334, allocations: 31.56 kB / 477.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.1335, allocations: 33.73 kB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1335, allocations: 4 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1335, allocations: 0 / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1335, allocations: 4 kB / 477.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.1343, allocations: 0.7232 MB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1343, allocations: 0 / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.1344, allocations: 27.98 kB / 478.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1345, allocations: 8.125 kB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1345, allocations: 8 kB / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1345, allocations: 3.938 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1345, allocations: 7.938 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.1349, allocations: 413.8 kB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.135, allocations: 104.7 kB / 479 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.1351, allocations: 8.172 kB / 479.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1352, allocations: 8 kB / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.1353, allocations: 27.84 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1353, allocations: 8 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.1355, allocations: 269.9 kB / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 0 / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.1359, allocations: 48 kB / 479.4 MB, free: 3.801 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.001711/0.1376, allocations: 1.362 MB / 480.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.138, allocations: 165.1 kB / 480.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.138, allocations: 0 / 480.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1382, allocations: 83.97 kB / 481 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.1387, allocations: 52.84 kB / 481.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.1417, allocations: 2.655 MB / 483.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1421, allocations: 0.7558 MB / 484.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1422, allocations: 41.91 kB / 484.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1424, allocations: 87.41 kB / 484.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1424, allocations: 384 / 484.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1662, allocations: 5.835 MB / 490.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.709, allocations: 11.92 kB / 490.4 MB, free: 8.883 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