Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 113.6 kB / 17.08 MB, free: 6.016 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.001079/0.001079, allocations: 198.3 kB / 18.01 MB, free: 5.094 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.212/1.212, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.188/0.188, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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.001302/0.001302, allocations: 63.91 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002868/0.1086, allocations: 1.845 MB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1099, allocations: 0.8975 MB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.11, allocations: 3.938 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1105, allocations: 227.4 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.1108, allocations: 167.4 kB / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1112, allocations: 147.6 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1114, allocations: 227.4 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1115, allocations: 29.52 kB / 0.4921 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1117, allocations: 111.6 kB / 0.4922 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1119, allocations: 143.5 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1119, allocations: 11.94 kB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.112, allocations: 51.97 kB / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.1121, allocations: 47.84 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.982e-05/0.1122, allocations: 87.34 kB / 0.4925 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1125, allocations: 207.2 kB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1125, allocations: 4 kB / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1125, allocations: 0 / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1125, allocations: 0 / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006941/0.1132, allocations: 0.5369 MB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1133, allocations: 15.89 kB / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.1133, allocations: 24.66 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1137, allocations: 288 kB / 0.4935 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1137, allocations: 384 / 0.4935 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1137, allocations: 16.12 kB / 0.4935 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1139, allocations: 99.3 kB / 0.4936 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1139, allocations: 0 / 0.4936 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.114, allocations: 3.984 kB / 0.4936 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.114, allocations: 4 kB / 0.4936 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1141, allocations: 35.92 kB / 0.4937 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.1146, allocations: 449 kB / 0.4941 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1148, allocations: 113.3 kB / 0.4942 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.1149, allocations: 45.7 kB / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.115, allocations: 0 / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1151, allocations: 113 kB / 0.4944 GB, free: 5.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1152, allocations: 0 / 0.4944 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008008/0.116, allocations: 380.3 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.116, allocations: 81.05 kB / 0.4948 GB, free: 5.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.1164, allocations: 428.5 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1164, allocations: 29.7 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.1165, allocations: 160.2 kB / 0.4954 GB, free: 4.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.1166, allocations: 51.34 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1166, allocations: 29.72 kB / 0.4955 GB, free: 4.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1167, allocations: 342.8 kB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.1168, allocations: 47.98 kB / 0.4958 GB, free: 4.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.117, allocations: 74.97 kB / 0.4959 GB, free: 3.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1171, allocations: 119.5 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1172, allocations: 8 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002781/0.1174, allocations: 177.3 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1175, allocations: 8 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1175, allocations: 0 / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1175, allocations: 0 / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1176, allocations: 35.92 kB / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1176, allocations: 7.922 kB / 0.4963 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.1177, allocations: 8 kB / 0.4963 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1177, allocations: 8.062 kB / 0.4963 GB, free: 3.586 MB / 382.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001263/0.1179, allocations: 173.7 kB / 0.4964 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.1179, allocations: 31.62 kB / 0.4965 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.118, allocations: 30.62 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.118, allocations: 4 kB / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.118, allocations: 3.938 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.118, allocations: 3.984 kB / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.1186, allocations: 0.6202 MB / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1187, allocations: 0 / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1187, allocations: 23.92 kB / 0.4971 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1187, allocations: 4 kB / 0.4971 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1187, allocations: 4 kB / 0.4971 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1188, allocations: 4 kB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1188, allocations: 0 / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1191, allocations: 375.7 kB / 0.4975 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1192, allocations: 100.8 kB / 0.4976 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1192, allocations: 8 kB / 0.4976 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1193, allocations: 4 kB / 0.4976 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1194, allocations: 11.98 kB / 0.4976 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1194, allocations: 15.98 kB / 0.4976 GB, free: 2.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.1197, allocations: 319 kB / 0.4979 GB, free: 1.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1197, allocations: 0 / 0.4979 GB, free: 1.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.12, allocations: 39.98 kB / 0.498 GB, free: 1.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0009858/0.121, allocations: 479.3 kB / 0.4984 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1213, allocations: 119.8 kB / 0.4986 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1213, allocations: 0 / 0.4986 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1214, allocations: 67.84 kB / 0.4986 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1219, allocations: 56.8 kB / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.1227, allocations: 0.5274 MB / 0.4992 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.123, allocations: 0.7554 MB / 0.4999 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.123, allocations: 31.44 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.123, allocations: 0 / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004744/0.1278, allocations: 3.315 MB / 0.5032 GB, free: 12.35 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time