Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.0007953/0.0007956, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0009042/0.0009045, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.309/1.309, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00184/0.1126, allocations: 1.421 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1145, allocations: 1.429 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1146, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1148, allocations: 39.89 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.115, allocations: 51.77 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1153, allocations: 87.83 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1155, allocations: 95.7 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.1156, allocations: 8.219 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.1157, allocations: 39.73 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1158, allocations: 35.83 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1158, allocations: 4 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.116, allocations: 51.98 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.116, allocations: 19.91 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.1161, allocations: 57.5 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1163, allocations: 119.9 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1163, allocations: 8 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1163, allocations: 3.938 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1163, allocations: 0 / 475.8 MB, free: 9.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005101/0.1169, allocations: 385.5 kB / 476.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1169, allocations: 8.031 kB / 476.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1169, allocations: 42.73 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.117, allocations: 12.78 kB / 476.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1172, allocations: 196.2 kB / 476.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1173, allocations: 12.36 kB / 476.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1173, allocations: 7.938 kB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1175, allocations: 71.33 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1175, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1175, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1175, allocations: 0 / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.1176, allocations: 19.98 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.118, allocations: 284.8 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1181, allocations: 62.61 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1182, allocations: 16.86 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1182, allocations: 7.938 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1184, allocations: 67.39 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1184, allocations: 0 / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.1189, allocations: 173.2 kB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.119, allocations: 77.11 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1191, allocations: 160.2 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1192, allocations: 29.7 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.1192, allocations: 88.14 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1192, allocations: 27.64 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1193, allocations: 21.72 kB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.1194, allocations: 322.8 kB / 477.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1194, allocations: 19.98 kB / 477.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.1195, allocations: 46.5 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1196, allocations: 53.7 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1196, allocations: 3.984 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1198, allocations: 105.6 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1198, allocations: 4 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1198, allocations: 384 / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1198, allocations: 0 / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.1199, allocations: 19.98 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1199, allocations: 4 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.12, allocations: 7.938 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.12, allocations: 0 / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.85e-05/0.1201, allocations: 129.8 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1201, allocations: 16.06 kB / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.1202, allocations: 12.72 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1202, allocations: 3.938 kB / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1202, allocations: 0 / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1202, allocations: 7.938 kB / 478.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1206, allocations: 395.4 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1206, allocations: 4.031 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.1207, allocations: 12 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1207, allocations: 3.938 kB / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1207, allocations: 0 / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1207, allocations: 4 kB / 478.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1207, allocations: 0 / 478.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1209, allocations: 204.2 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.121, allocations: 89 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.121, allocations: 7.938 kB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1211, allocations: 11.98 kB / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1211, allocations: 0 / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1212, allocations: 4 kB / 479 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.636e-05/0.1212, allocations: 119.2 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 0 / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1215, allocations: 31.98 kB / 479.2 MB, free: 6.043 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001475/0.123, allocations: 1.129 MB / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1232, allocations: 63.89 kB / 480.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1232, allocations: 0 / 480.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1233, allocations: 31.92 kB / 480.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1236, allocations: 28.11 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1252, allocations: 1.562 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1254, allocations: 0.6965 MB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.1255, allocations: 16.86 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.1256, allocations: 39.41 kB / 482.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1256, allocations: 3.938 kB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1392, allocations: 3.079 MB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.1394, allocations: 245.6 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.841, allocations: 3.938 kB / 486.1 MB, free: 15.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches