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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 107 kB / 17.33 MB, free: 6 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.00151/0.00151, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.405/1.405, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2261/0.2261, allocations: 44.19 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66.98 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00298/0.1143, allocations: 1.753 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1156, allocations: 0.8614 MB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.1157, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.116, allocations: 39.83 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1162, allocations: 55.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1165, allocations: 87.83 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1167, allocations: 95.7 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1168, allocations: 16.2 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.1169, allocations: 39.8 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.117, allocations: 31.8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.117, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1171, allocations: 47.97 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1172, allocations: 19.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1173, allocations: 43.73 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1175, allocations: 111.9 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1175, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1175, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1175, allocations: 0 / 471.9 MB, free: 11.48 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.0005522/0.118, allocations: 414.9 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1181, allocations: 15.95 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1181, allocations: 12.84 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1184, allocations: 208.8 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1184, allocations: 384 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1184, allocations: 16.11 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1186, allocations: 49.67 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1186, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1186, allocations: 4 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1186, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-05/0.1187, allocations: 23.92 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1191, allocations: 292.8 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1192, allocations: 50.69 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.1193, allocations: 24.84 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1193, allocations: 3.984 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1195, allocations: 75.33 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1195, allocations: 0 / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005241/0.12, allocations: 177.1 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1201, allocations: 55.41 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1204, allocations: 199.3 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1204, allocations: 25.7 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1205, allocations: 108.1 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1205, allocations: 19.72 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1206, allocations: 29.7 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1207, allocations: 326.8 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1207, allocations: 23.98 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1208, allocations: 33.7 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1209, allocations: 61.72 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1209, allocations: 4 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1211, allocations: 101.5 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1211, allocations: 8 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1212, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1212, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.1213, allocations: 12 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1213, allocations: 7.984 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1213, allocations: 7.875 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1213, allocations: 8 kB / 474.3 MB, free: 8.891 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.0001032/0.1215, allocations: 124.4 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1215, allocations: 19.8 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1215, allocations: 13.41 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1215, allocations: 0 / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1216, allocations: 4 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1216, allocations: 3.938 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.122, allocations: 395.3 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.122, allocations: 4 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1221, allocations: 7.938 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1221, allocations: 4 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1221, allocations: 3.938 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1221, allocations: 384 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1221, allocations: 4 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1223, allocations: 208.2 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.1224, allocations: 85 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1224, allocations: 15.94 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.1225, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1226, allocations: 7.984 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1226, allocations: 8.125 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1227, allocations: 152.9 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1227, allocations: 3.938 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.123, allocations: 24 kB / 475.3 MB, free: 7.723 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.0009969/0.124, allocations: 465.4 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1242, allocations: 63.89 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1242, allocations: 4.062 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.1243, allocations: 31.98 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1246, allocations: 23.08 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.125, allocations: 271.1 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1253, allocations: 0.7041 MB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.1254, allocations: 12.88 kB / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1254, allocations: 15.44 kB / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1254, allocations: 0 / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.004061/0.1295, allocations: 1.697 MB / 478.6 MB, free: 4.594 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/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