Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.0007261/0.0007261, allocations: 94.27 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.0009008/0.0009007, allocations: 172.1 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.317/1.317, allocations: 223.3 MB / 242.3 MB, free: 236 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.2067/0.2067, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 8.281 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002126/0.1161, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1175, allocations: 0.8382 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.1176, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1179, allocations: 55.86 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1181, allocations: 51.77 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1184, allocations: 90.7 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1186, allocations: 91.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1187, allocations: 16.2 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.1188, allocations: 39.8 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1189, allocations: 31.8 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1189, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.119, allocations: 43.97 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1191, allocations: 23.91 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1191, allocations: 61.45 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1193, allocations: 115.8 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1193, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1193, allocations: 4 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1194, allocations: 0 / 475.2 MB, free: 10.36 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.0005048/0.1199, allocations: 411 kB / 475.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1199, allocations: 8.031 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.12, allocations: 34.75 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.12, allocations: 12.75 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1202, allocations: 220.5 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1203, allocations: 384 / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1203, allocations: 7.938 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1204, allocations: 57.67 kB / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1204, allocations: 0 / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1205, allocations: 0 / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1205, allocations: 4 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.1205, allocations: 19.92 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1209, allocations: 292.8 kB / 476.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1211, allocations: 62.67 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1212, allocations: 28.84 kB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1212, allocations: 0 / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.1214, allocations: 71.23 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1214, allocations: 0 / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.122, allocations: 181.2 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.122, allocations: 59.34 kB / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1222, allocations: 222.6 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1223, allocations: 29.69 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1223, allocations: 108.1 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.1224, allocations: 27.64 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.1224, allocations: 9.719 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1226, allocations: 326.8 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.1226, allocations: 23.98 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.1227, allocations: 33.7 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1228, allocations: 65.64 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1228, allocations: 0 / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.123, allocations: 97.56 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1231, allocations: 11.94 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1231, allocations: 32 / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1231, allocations: 4 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.1232, allocations: 19.98 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1232, allocations: 4 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1232, allocations: 3.938 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1233, allocations: 4 kB / 477.6 MB, free: 7.691 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 0.0001049/0.1234, allocations: 133.8 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1234, allocations: 19.75 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.1235, allocations: 17.39 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1235, allocations: 4 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1235, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1235, allocations: 7.938 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.1239, allocations: 391.3 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1239, allocations: 0 / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.124, allocations: 15.92 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.124, allocations: 3.938 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.124, allocations: 4 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.124, allocations: 4.031 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.124, allocations: 0 / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1243, allocations: 204.2 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.1243, allocations: 93 kB / 478.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1243, allocations: 8.312 kB / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1244, allocations: 0 / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.1245, allocations: 12.17 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1245, allocations: 12 kB / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1246, allocations: 176.2 kB / 478.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1246, allocations: 0 / 478.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1249, allocations: 27.98 kB / 478.8 MB, free: 6.477 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.001404/0.1263, allocations: 1.094 MB / 479.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1265, allocations: 63.89 kB / 479.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1265, allocations: 4.062 kB / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.1266, allocations: 31.92 kB / 480 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.127, allocations: 27.97 kB / 480 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1289, allocations: 1.733 MB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1291, allocations: 0.7121 MB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.1292, allocations: 16.88 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.1293, allocations: 35.42 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1293, allocations: 0 / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.1438, allocations: 3.114 MB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1441, allocations: 233.4 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.813, allocations: 7.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches