Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 113.5 kB / 17.08 MB, free: 6.008 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.001073/0.001073, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.245/1.245, 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.1854/0.1854, allocations: 43.53 MB / 314.8 MB, free: 468 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.001348/0.001348, allocations: 75.88 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004055/0.1104, allocations: 1.841 MB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1125, allocations: 0.9013 MB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1126, allocations: 7.938 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.1133, allocations: 247.4 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.1137, allocations: 183.4 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.1143, allocations: 151.6 kB / 0.4919 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.1147, allocations: 247.3 kB / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1149, allocations: 25.52 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1151, allocations: 123.6 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1155, allocations: 183.4 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1155, allocations: 4 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1157, allocations: 47.97 kB / 0.4925 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1158, allocations: 59.77 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1159, allocations: 95.22 kB / 0.4926 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1163, allocations: 211.3 kB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1163, allocations: 0 / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1163, allocations: 8 kB / 0.4928 GB, free: 7.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1163, allocations: 0 / 0.4928 GB, free: 7.422 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.0008147/0.1171, allocations: 0.5602 MB / 0.4934 GB, free: 6.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1172, allocations: 11.89 kB / 0.4934 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.1173, allocations: 28.56 kB / 0.4934 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.1177, allocations: 288 kB / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1178, allocations: 4.359 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1178, allocations: 16.12 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.118, allocations: 95.36 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1181, allocations: 0 / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1181, allocations: 0 / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1181, allocations: 4 kB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1182, allocations: 39.91 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.1188, allocations: 456.9 kB / 0.4943 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.1191, allocations: 109.3 kB / 0.4944 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1193, allocations: 53.69 kB / 0.4944 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1193, allocations: 7.922 kB / 0.4944 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1195, allocations: 116.9 kB / 0.4945 GB, free: 5.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1196, allocations: 0 / 0.4945 GB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009685/0.1205, allocations: 376.1 kB / 0.4949 GB, free: 5.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1206, allocations: 89.05 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.1211, allocations: 477.7 kB / 0.4954 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1212, allocations: 33.7 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1213, allocations: 164.3 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.1214, allocations: 47.38 kB / 0.4957 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.1215, allocations: 37.7 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1216, allocations: 342.8 kB / 0.496 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1218, allocations: 47.98 kB / 0.4961 GB, free: 3.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1219, allocations: 70.84 kB / 0.4961 GB, free: 3.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.1221, allocations: 119.5 kB / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1222, allocations: 0 / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003646/0.1225, allocations: 197 kB / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1226, allocations: 4 kB / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1226, allocations: 0 / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1226, allocations: 4 kB / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1228, allocations: 27.98 kB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1228, allocations: 7.938 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.1229, allocations: 11.98 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1229, allocations: 4 kB / 0.4965 GB, free: 3.355 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.0001789/0.1231, allocations: 181.7 kB / 0.4967 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1231, allocations: 27.62 kB / 0.4967 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.1232, allocations: 38.81 kB / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1232, allocations: 4 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.1233, allocations: 3.938 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1233, allocations: 3.984 kB / 0.4968 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/0.124, allocations: 0.6281 MB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.124, allocations: 7.938 kB / 0.4974 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.1241, allocations: 12 kB / 0.4974 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1241, allocations: 4 kB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1241, allocations: 11.98 kB / 0.4974 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1241, allocations: 3.938 kB / 0.4974 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1241, allocations: 0 / 0.4974 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.1245, allocations: 372.1 kB / 0.4978 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.1246, allocations: 100.7 kB / 0.4979 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1246, allocations: 4 kB / 0.4979 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1248, allocations: 8.359 kB / 0.4979 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1248, allocations: 19.92 kB / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1248, allocations: 12 kB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1252, allocations: 363.1 kB / 0.4982 GB, free: 1.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1252, allocations: 0 / 0.4982 GB, free: 1.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.1255, allocations: 36 kB / 0.4983 GB, free: 1.426 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.0009638/0.1265, allocations: 474.5 kB / 0.4987 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1267, allocations: 119.8 kB / 0.4988 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1268, allocations: 0 / 0.4988 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1269, allocations: 55.92 kB / 0.4989 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1274, allocations: 69.06 kB / 0.499 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.1282, allocations: 0.5593 MB / 0.4995 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1285, allocations: 0.7749 MB / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.1286, allocations: 27.42 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1286, allocations: 4 kB / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of Templates: time 0.004704/0.1333, allocations: 3.425 MB / 0.5036 GB, free: 11.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches