Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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.0009085/0.0009085, allocations: 98.23 kB / 18.01 MB, free: 5.602 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.001172/0.001172, allocations: 176.7 kB / 18.91 MB, free: 4.738 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.507/1.507, allocations: 223.3 MB / 243 MB, free: 14.31 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.1818/0.1818, allocations: 44.24 MB / 338.3 MB, free: 2.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 16.48 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002092/0.1035, allocations: 1.592 MB / 474.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.105, allocations: 0.9435 MB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1051, allocations: 7.938 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1056, allocations: 247.5 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1059, allocations: 171.5 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.1063, allocations: 171 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1066, allocations: 239.3 kB / 476.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1067, allocations: 25.67 kB / 476.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1069, allocations: 115.5 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1071, allocations: 179.4 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1071, allocations: 8 kB / 476.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1072, allocations: 63.95 kB / 476.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.1073, allocations: 59.77 kB / 476.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.1074, allocations: 113 kB / 476.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1076, allocations: 172 kB / 477 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1077, allocations: 4 kB / 477 MB, free: 9.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1077, allocations: 0 / 477 MB, free: 9.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1077, allocations: 3.938 kB / 477 MB, free: 9.215 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000667/0.1084, allocations: 0.5254 MB / 477.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1084, allocations: 12.03 kB / 477.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.1085, allocations: 32.55 kB / 477.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1088, allocations: 284.1 kB / 477.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1088, allocations: 4.375 kB / 477.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1088, allocations: 12.12 kB / 477.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.1091, allocations: 107.3 kB / 478 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1091, allocations: 3.906 kB / 478 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1091, allocations: 7.984 kB / 478 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1091, allocations: 7.984 kB / 478 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1093, allocations: 47.91 kB / 478 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.1098, allocations: 480.7 kB / 478.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1101, allocations: 125.2 kB / 478.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1103, allocations: 45.83 kB / 478.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1103, allocations: 7.984 kB / 478.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.1105, allocations: 117 kB / 478.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1106, allocations: 0 / 478.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001226/0.1118, allocations: 0.4928 MB / 479.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.1119, allocations: 89.09 kB / 479.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.1123, allocations: 481.7 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1123, allocations: 29.7 kB / 479.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1125, allocations: 160.5 kB / 480 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.1125, allocations: 75 kB / 480.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1126, allocations: 17.72 kB / 480.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1127, allocations: 350.8 kB / 480.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1128, allocations: 59.97 kB / 480.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.113, allocations: 99.28 kB / 480.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.1133, allocations: 159.4 kB / 480.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1133, allocations: 0 / 480.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003748/0.1136, allocations: 233.1 kB / 481 MB, free: 4.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1137, allocations: 16 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1137, allocations: 0 / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1137, allocations: 4 kB / 481 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1138, allocations: 43.91 kB / 481.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1139, allocations: 4 kB / 481.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.114, allocations: 8 kB / 481.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.114, allocations: 8.234 kB / 481.1 MB, free: 4.848 MB / 350.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 (26): * Single equations (assignments): 26 * 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.0001746/0.1142, allocations: 186.2 kB / 481.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.1142, allocations: 35.56 kB / 481.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.517e-05/0.1143, allocations: 46.8 kB / 481.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1143, allocations: 4 kB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1143, allocations: 0 / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1143, allocations: 0 / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.1152, allocations: 0.7427 MB / 482.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1152, allocations: 0 / 482.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.1153, allocations: 27.98 kB / 482.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1153, allocations: 4 kB / 482.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1153, allocations: 12 kB / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1153, allocations: 0 / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1153, allocations: 7.938 kB / 482.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.1158, allocations: 423.3 kB / 482.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.1159, allocations: 112.7 kB / 482.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1159, allocations: 11.94 kB / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1161, allocations: 11.98 kB / 482.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1161, allocations: 23.86 kB / 482.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1162, allocations: 16.17 kB / 482.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.1165, allocations: 359.1 kB / 483.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1165, allocations: 3.938 kB / 483.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1169, allocations: 51.98 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001209/0.1181, allocations: 0.5106 MB / 483.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.1184, allocations: 155.8 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1184, allocations: 4 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1186, allocations: 75.91 kB / 483.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.1192, allocations: 69.75 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.1202, allocations: 0.6972 MB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1205, allocations: 0.7809 MB / 485.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.1206, allocations: 31.42 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1206, allocations: 0 / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of Templates: time 0.006117/0.1267, allocations: 3.712 MB / 489.2 MB, free: 12.79 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches