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.001094/0.001094, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00103/0.00103, allocations: 194 kB / 18.12 MB, free: 5.363 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.529/1.529, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2042/0.2042, allocations: 44.16 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.22 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003149/0.1142, allocations: 1.934 MB / 470.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1157, allocations: 0.9744 MB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.1158, allocations: 7.938 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1162, allocations: 243.5 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1165, allocations: 175.5 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.1169, allocations: 155.6 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1172, allocations: 251.3 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1174, allocations: 25.66 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1175, allocations: 123.5 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1177, allocations: 175.5 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1178, allocations: 7.984 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1179, allocations: 59.91 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.118, allocations: 67.77 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1181, allocations: 87.28 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1184, allocations: 235.4 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1184, allocations: 8 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1184, allocations: 0 / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.1184, allocations: 0 / 473.1 MB, free: 10.19 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.0007689/0.1192, allocations: 0.568 MB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1193, allocations: 15.97 kB / 473.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1193, allocations: 38.73 kB / 473.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1194, allocations: 32.56 kB / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1197, allocations: 284 kB / 474.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1197, allocations: 8.312 kB / 474.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1198, allocations: 19.92 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.12, allocations: 103.3 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.12, allocations: 0 / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1201, allocations: 8 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1201, allocations: 0 / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1203, allocations: 47.91 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.1208, allocations: 484.8 kB / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.1212, allocations: 121.2 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1213, allocations: 45.81 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1214, allocations: 4 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.1217, allocations: 119 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1217, allocations: 0 / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001316/0.123, allocations: 0.5084 MB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1231, allocations: 77.11 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1236, allocations: 481.7 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1236, allocations: 29.7 kB / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1237, allocations: 168.5 kB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.1238, allocations: 67.08 kB / 476.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.1238, allocations: 41.7 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.124, allocations: 354.8 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1241, allocations: 55.98 kB / 476.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1243, allocations: 103.3 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1245, allocations: 159.4 kB / 477 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1246, allocations: 3.938 kB / 477 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003833/0.1249, allocations: 237.2 kB / 477.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.125, allocations: 6.344 kB / 477.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.125, allocations: 4 kB / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.125, allocations: 0 / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1252, allocations: 43.92 kB / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1252, allocations: 0 / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.1253, allocations: 19.95 kB / 477.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1253, allocations: 12 kB / 477.3 MB, free: 5.695 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.0001621/0.1255, allocations: 178.2 kB / 477.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.1255, allocations: 35.56 kB / 477.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.1256, allocations: 38.81 kB / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1256, allocations: 4 kB / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1256, allocations: 0 / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1256, allocations: 3.984 kB / 477.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/0.1265, allocations: 0.7349 MB / 478.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1265, allocations: 0 / 478.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.1266, allocations: 31.98 kB / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1266, allocations: 4 kB / 478.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1266, allocations: 12.11 kB / 478.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1266, allocations: 4 kB / 478.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1266, allocations: 7.875 kB / 478.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.1271, allocations: 417.8 kB / 478.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.1271, allocations: 104.7 kB / 478.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1272, allocations: 8 kB / 478.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1273, allocations: 7.984 kB / 478.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.1274, allocations: 23.86 kB / 478.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1274, allocations: 8 kB / 478.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.1278, allocations: 363.1 kB / 479.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1278, allocations: 4 kB / 479.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1281, allocations: 51.98 kB / 479.3 MB, free: 3.555 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.001873/0.13, allocations: 1.366 MB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1304, allocations: 159.8 kB / 480.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1304, allocations: 0 / 480.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1305, allocations: 84.41 kB / 481 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1311, allocations: 65.17 kB / 481 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.1344, allocations: 3.018 MB / 484 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1347, allocations: 0.7794 MB / 484.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1348, allocations: 37.92 kB / 484.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.135, allocations: 99.41 kB / 484.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.135, allocations: 0 / 484.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1524, allocations: 6.152 MB / 491.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.1527, allocations: 240.4 kB / 491.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.946, allocations: 3.938 kB / 491.3 MB, free: 7.691 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