Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110 kB / 18.3 MB, free: 4.84 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.001265/0.001265, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.435/1.435, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2206/0.2206, allocations: 44.18 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.25 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 60.83 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003367/0.1063, allocations: 1.692 MB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1078, allocations: 0.8807 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.1079, allocations: 0 / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.1082, allocations: 43.83 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1085, allocations: 59.69 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1089, allocations: 110.9 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1091, allocations: 99.67 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1092, allocations: 12.23 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.1093, allocations: 35.8 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.1094, allocations: 35.84 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1094, allocations: 4 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1095, allocations: 39.98 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.1096, allocations: 19.92 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.1097, allocations: 35.73 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1099, allocations: 107.9 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1099, allocations: 4 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1099, allocations: 0 / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1099, allocations: 0 / 473.1 MB, free: 11.15 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.0005851/0.1105, allocations: 419 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1106, allocations: 8.031 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.1106, allocations: 8.844 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1109, allocations: 208 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1109, allocations: 4.375 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1109, allocations: 8.125 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1111, allocations: 57.61 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1111, allocations: 0 / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1111, allocations: 0 / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1112, allocations: 4 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.1112, allocations: 23.92 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1116, allocations: 284.9 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1118, allocations: 54.67 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1119, allocations: 24.84 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1119, allocations: 7.938 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.1121, allocations: 63.39 kB / 474.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1121, allocations: 3.938 kB / 474.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000586/0.1127, allocations: 169.2 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1128, allocations: 59.39 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1129, allocations: 182.2 kB / 474.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.113, allocations: 29.7 kB / 474.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.113, allocations: 104.1 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1131, allocations: 23.64 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1131, allocations: 25.72 kB / 474.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1132, allocations: 326.8 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.1133, allocations: 23.98 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.1134, allocations: 34.08 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1135, allocations: 61.66 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1135, allocations: 0 / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1137, allocations: 113.4 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1137, allocations: 4 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1138, allocations: 4 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1138, allocations: 0 / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.1139, allocations: 12 kB / 475.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1139, allocations: 3.984 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.1139, allocations: 11.97 kB / 475.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.114, allocations: 4 kB / 475.4 MB, free: 8.594 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 9.343e-05/0.1141, allocations: 121.8 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1141, allocations: 15.88 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1141, allocations: 12.72 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1142, allocations: 4 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1142, allocations: 0 / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1142, allocations: 8.062 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.1146, allocations: 383.4 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1146, allocations: 7.938 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1147, allocations: 11.92 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1147, allocations: 4 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1147, allocations: 3.938 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1147, allocations: 0 / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1147, allocations: 4 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1149, allocations: 208.5 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.115, allocations: 81.02 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.115, allocations: 15.86 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1151, allocations: 0 / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1151, allocations: 11.94 kB / 476.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1152, allocations: 7.984 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1153, allocations: 139.2 kB / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1153, allocations: 4 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1156, allocations: 23.98 kB / 476.5 MB, free: 7.438 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.001035/0.1166, allocations: 465.7 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1168, allocations: 63.92 kB / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1168, allocations: 0 / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.1169, allocations: 27.98 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1173, allocations: 37.59 kB / 477.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.1178, allocations: 249 kB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.118, allocations: 0.7041 MB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.1181, allocations: 27.3 kB / 478 MB, free: 6 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1181, allocations: 0 / 478 MB, free: 6 MB / 350.1 MB Notification: Performance of Templates: time 0.0038/0.1219, allocations: 1.884 MB / 479.9 MB, free: 4.121 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches