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.001456/0.001456, allocations: 106.5 kB / 16.41 MB, free: 6.457 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.001637/0.001638, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2097/0.2097, allocations: 43.52 MB / 314.1 MB, free: 452 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.001425/0.001425, allocations: 69.47 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 57.8 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.0034/0.111, allocations: 1.833 MB / 0.4897 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1126, allocations: 0.9052 MB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.1127, allocations: 3.938 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1132, allocations: 255.4 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.1136, allocations: 187.4 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.114, allocations: 147.7 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.1143, allocations: 243.3 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1144, allocations: 25.53 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1146, allocations: 131.5 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1148, allocations: 175.5 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1149, allocations: 8 kB / 0.4918 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.115, allocations: 43.97 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1151, allocations: 63.7 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1152, allocations: 91.28 kB / 0.4919 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1155, allocations: 219.3 kB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1155, allocations: 7.984 kB / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1155, allocations: 0 / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1155, allocations: 0 / 0.4922 GB, free: 7.375 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.0007635/0.1163, allocations: 0.5562 MB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1163, allocations: 11.89 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1164, allocations: 32.56 kB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.1168, allocations: 280 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1168, allocations: 12.36 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1168, allocations: 12.12 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1171, allocations: 103.2 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1171, allocations: 0 / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1171, allocations: 0 / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1171, allocations: 0 / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1172, allocations: 35.97 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.1177, allocations: 460.8 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.118, allocations: 113.3 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1181, allocations: 49.64 kB / 0.4938 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1182, allocations: 4 kB / 0.4938 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1184, allocations: 117 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1184, allocations: 0 / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008668/0.1193, allocations: 379.7 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1193, allocations: 85.05 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.1198, allocations: 477.7 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1198, allocations: 29.7 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1199, allocations: 164.3 kB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.12, allocations: 51.38 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.12, allocations: 33.7 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1202, allocations: 358.7 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1203, allocations: 35.98 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1204, allocations: 79.33 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1206, allocations: 107.4 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1207, allocations: 8 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003401/0.121, allocations: 189 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.121, allocations: 4 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1211, allocations: 4 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.1211, allocations: 0 / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1212, allocations: 35.92 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1213, allocations: 3.938 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.1214, allocations: 11.98 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1214, allocations: 12.06 kB / 0.4959 GB, free: 3.301 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.0001995/0.1216, allocations: 165.8 kB / 0.496 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.1217, allocations: 31.62 kB / 0.496 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.1218, allocations: 38.81 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1218, allocations: 3.984 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1218, allocations: 7.938 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1218, allocations: 0 / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.1226, allocations: 0.6362 MB / 0.4967 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1226, allocations: 0 / 0.4967 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1227, allocations: 20.69 kB / 0.4967 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1227, allocations: 3.984 kB / 0.4967 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1227, allocations: 8 kB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1227, allocations: 0 / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1227, allocations: 4 kB / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.1232, allocations: 379.7 kB / 0.4971 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.1233, allocations: 100.7 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.1233, allocations: 8 kB / 0.4972 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1234, allocations: 7.984 kB / 0.4972 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.1235, allocations: 15.98 kB / 0.4972 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.1235, allocations: 8 kB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.1239, allocations: 359.1 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1239, allocations: 0 / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.1242, allocations: 40 kB / 0.4976 GB, free: 1.379 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.001186/0.1254, allocations: 467.7 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1258, allocations: 123.8 kB / 0.4982 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1258, allocations: 0 / 0.4982 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1259, allocations: 55.92 kB / 0.4982 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.1265, allocations: 61.44 kB / 0.4983 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.1273, allocations: 0.53 MB / 0.4988 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1276, allocations: 0.7671 MB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.328e-05/0.1277, allocations: 38.53 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.1278, allocations: 23.44 kB / 0.4996 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1278, allocations: 4 kB / 0.4996 GB, free: 15.31 MB / 398.1 MB Notification: Performance of Templates: time 0.006921/0.1347, allocations: 2.768 MB / 0.5023 GB, free: 12.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/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