Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.000742/0.0007419, allocations: 92.47 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.0009201/0.0009202, allocations: 176 kB / 18.25 MB, free: 5.52 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.286/1.286, allocations: 223.3 MB / 242.3 MB, free: 188 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.1811/0.1811, allocations: 44.25 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 13.19 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 61.93 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002055/0.1125, allocations: 1.413 MB / 473.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1139, allocations: 0.846 MB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.114, allocations: 0 / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1143, allocations: 39.89 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1145, allocations: 47.77 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1148, allocations: 98.7 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1149, allocations: 95.69 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.115, allocations: 4.234 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1151, allocations: 39.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.1152, allocations: 31.8 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1152, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.1153, allocations: 43.97 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1154, allocations: 19.92 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1154, allocations: 65.44 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1156, allocations: 107.9 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1156, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1157, allocations: 3.984 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1157, allocations: 0 / 475.2 MB, free: 10.34 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.0004801/0.1161, allocations: 405.2 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1162, allocations: 12.03 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1162, allocations: 34.69 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1163, allocations: 8.844 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1165, allocations: 212.8 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1165, allocations: 8.375 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1165, allocations: 3.938 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1167, allocations: 57.67 kB / 475.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1167, allocations: 0 / 475.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1167, allocations: 0 / 475.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1167, allocations: 4 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.1168, allocations: 19.92 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1171, allocations: 292.8 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1173, allocations: 62.67 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.1174, allocations: 20.84 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1174, allocations: 0 / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.1176, allocations: 75.33 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1176, allocations: 0 / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005127/0.1181, allocations: 173.1 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1182, allocations: 51.41 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1184, allocations: 203.3 kB / 476.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1184, allocations: 29.7 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1185, allocations: 104.1 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1185, allocations: 27.64 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.1185, allocations: 17.72 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1186, allocations: 322.8 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.1187, allocations: 19.98 kB / 477.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.1188, allocations: 37.7 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1189, allocations: 61.64 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1189, allocations: 0 / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.1191, allocations: 101.5 kB / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1191, allocations: 4 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1191, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1191, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1192, allocations: 23.98 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1192, allocations: 0 / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.1193, allocations: 7.875 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1193, allocations: 4 kB / 477.6 MB, free: 7.73 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.0001052/0.1194, allocations: 141.8 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1194, allocations: 11.81 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.1195, allocations: 17.39 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1195, allocations: 4 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1195, allocations: 0 / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1195, allocations: 3.938 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1199, allocations: 395.5 kB / 478.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.12, allocations: 32 / 478.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.12, allocations: 16.31 kB / 478.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.12, allocations: 3.938 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.12, allocations: 3.984 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.12, allocations: 8 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.12, allocations: 0 / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1203, allocations: 200.2 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1203, allocations: 89.02 kB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1203, allocations: 7.922 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1204, allocations: 8 kB / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1205, allocations: 7.984 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1205, allocations: 7.984 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1206, allocations: 148.8 kB / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1206, allocations: 0 / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1209, allocations: 24.17 kB / 478.6 MB, free: 6.551 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.001407/0.1223, allocations: 1.1 MB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1225, allocations: 59.91 kB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1225, allocations: 0 / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.1225, allocations: 31.92 kB / 479.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1229, allocations: 23.98 kB / 479.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1246, allocations: 1.682 MB / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1249, allocations: 0.7043 MB / 482.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.1249, allocations: 16.86 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.125, allocations: 35.42 kB / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.125, allocations: 0 / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.138, allocations: 3.001 MB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.1382, allocations: 238.3 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.949, allocations: 0 / 485.5 MB, free: 15.81 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches