Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.001401/0.001406, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001447/0.001447, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 13.66 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.197/0.197, allocations: 44.18 MB / 336.3 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 59.72 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.117, allocations: 60.82 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003133/0.1202, allocations: 1.944 MB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1217, allocations: 0.9783 MB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1218, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.1223, allocations: 247.4 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1227, allocations: 171.5 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1231, allocations: 159.7 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1234, allocations: 255.3 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1236, allocations: 21.69 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1237, allocations: 139.4 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1239, allocations: 183.5 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.124, allocations: 8 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1241, allocations: 71.95 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.1242, allocations: 67.7 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.1243, allocations: 91.28 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1246, allocations: 243.4 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1246, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1246, allocations: 4 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1246, allocations: 0 / 473.4 MB, free: 10.01 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.0006928/0.1253, allocations: 0.5641 MB / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1254, allocations: 12.03 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1254, allocations: 38.73 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1255, allocations: 32.56 kB / 474 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1258, allocations: 276 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1258, allocations: 12.36 kB / 474.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1258, allocations: 7.938 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1261, allocations: 126.2 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1261, allocations: 3.938 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1261, allocations: 0 / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1261, allocations: 0 / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1263, allocations: 47.97 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.1268, allocations: 480.6 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.1272, allocations: 121.2 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1273, allocations: 53.8 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1273, allocations: 4.141 kB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1276, allocations: 119.8 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1276, allocations: 0 / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001235/0.1288, allocations: 0.4998 MB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1289, allocations: 93.05 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.1293, allocations: 477.7 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1293, allocations: 29.7 kB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1294, allocations: 164.5 kB / 476.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.1295, allocations: 71.03 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.1296, allocations: 41.7 kB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1297, allocations: 350.8 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1298, allocations: 47.98 kB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.13, allocations: 103.3 kB / 477.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1303, allocations: 151.4 kB / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1303, allocations: 0 / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003986/0.1307, allocations: 245.2 kB / 477.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1307, allocations: 8 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1307, allocations: 0 / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1307, allocations: 4 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1309, allocations: 43.92 kB / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1309, allocations: 4 kB / 477.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.131, allocations: 11.98 kB / 477.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.131, allocations: 4 kB / 477.6 MB, free: 5.543 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.0001669/0.1312, allocations: 182.3 kB / 477.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.1312, allocations: 39.47 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.1313, allocations: 46.75 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1313, allocations: 3.984 kB / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1313, allocations: 3.938 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1314, allocations: 4 kB / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.1322, allocations: 0.735 MB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1323, allocations: 4 kB / 478.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.1323, allocations: 27.94 kB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1324, allocations: 0 / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1324, allocations: 11.98 kB / 478.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1324, allocations: 4.938 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1324, allocations: 3.938 kB / 478.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.1329, allocations: 427.5 kB / 479 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.133, allocations: 100.7 kB / 479.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.133, allocations: 12 kB / 479.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1332, allocations: 15.98 kB / 479.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.1332, allocations: 19.92 kB / 479.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1333, allocations: 12 kB / 479.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.1336, allocations: 363.1 kB / 479.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1336, allocations: 0 / 479.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1339, allocations: 51.98 kB / 479.6 MB, free: 3.379 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.001742/0.1357, allocations: 1.364 MB / 481 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.1361, allocations: 163.8 kB / 481.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1361, allocations: 3.938 kB / 481.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1362, allocations: 79.91 kB / 481.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.1368, allocations: 60.89 kB / 481.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1401, allocations: 3.02 MB / 484.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1405, allocations: 0.7834 MB / 485.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1406, allocations: 41.91 kB / 485.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1407, allocations: 103.4 kB / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1408, allocations: 3.938 kB / 485.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.1569, allocations: 6.277 MB / 491.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.1571, allocations: 231.2 kB / 491.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.112, allocations: 11 kB / 491.7 MB, free: 7.383 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches