Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 98.22 kB / 16.93 MB, free: 6.16 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.001713/0.001713, allocations: 191.3 kB / 17.86 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 70.7 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.114, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002918/0.117, allocations: 1.791 MB / 443 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1188, allocations: 1.465 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.1189, allocations: 4 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1193, allocations: 55.69 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.1196, allocations: 91.53 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1199, allocations: 143.5 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1201, allocations: 175.5 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1201, allocations: 9.562 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.1203, allocations: 79.58 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1205, allocations: 71.69 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1205, allocations: 11.94 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1206, allocations: 63.97 kB / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.1207, allocations: 31.91 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.1208, allocations: 55.61 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.121, allocations: 175.8 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.121, allocations: 0 / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.121, allocations: 3.938 kB / 445.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.121, allocations: 0 / 445.4 MB, free: 2.68 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005845/0.1216, allocations: 466.6 kB / 445.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1217, allocations: 15.89 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.1217, allocations: 12.75 kB / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.122, allocations: 251.4 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.122, allocations: 384 / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.122, allocations: 8.125 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1222, allocations: 109 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1222, allocations: 0 / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1223, allocations: 0 / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1223, allocations: 0 / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.974e-05/0.1224, allocations: 31.91 kB / 446.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.1226, allocations: 218.5 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1228, allocations: 109.2 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.1229, allocations: 41.64 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1229, allocations: 3.938 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.1232, allocations: 117 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1232, allocations: 0 / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004332/0.1236, allocations: 165.4 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1237, allocations: 132.5 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1239, allocations: 207.8 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1239, allocations: 33.7 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.124, allocations: 112.1 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.124, allocations: 31.64 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1241, allocations: 29.66 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.1241, allocations: 334.8 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.1242, allocations: 27.98 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1244, allocations: 65.14 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1246, allocations: 95.38 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1246, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002617/0.1248, allocations: 133.4 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1249, allocations: 4 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1249, allocations: 0 / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1249, allocations: 8.062 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.125, allocations: 24.55 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.125, allocations: 4 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.1251, allocations: 15.89 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1251, allocations: 4 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001236/0.1253, allocations: 129.8 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1253, allocations: 23.8 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1254, allocations: 17 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1254, allocations: 8 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1254, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1254, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1256, allocations: 225.4 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1256, allocations: 0 / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1256, allocations: 11.94 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1257, allocations: 0 / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1257, allocations: 3.938 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1257, allocations: 7.984 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1257, allocations: 0 / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.126, allocations: 169.6 kB / 448.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1261, allocations: 88.92 kB / 448.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1261, allocations: 8 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1262, allocations: 7.984 kB / 448.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1262, allocations: 11.98 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1263, allocations: 4 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1264, allocations: 161.5 kB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1267, allocations: 43.92 kB / 449.1 MB, free: 14.62 MB / 334.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001037/0.1277, allocations: 443.4 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.128, allocations: 91.83 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.128, allocations: 0 / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1281, allocations: 35.98 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1285, allocations: 60.12 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.1291, allocations: 301.9 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1293, allocations: 0.7163 MB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1294, allocations: 31.36 kB / 450.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1294, allocations: 0 / 450.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Templates: time 0.004497/0.1339, allocations: 2.718 MB / 453.4 MB, free: 10.26 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches