Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001057/0.001057, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.284/1.284, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2036/0.2036, allocations: 44.18 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.5 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00308/0.1062, allocations: 1.947 MB / 471.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1076, allocations: 0.9783 MB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.1077, allocations: 0 / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.1082, allocations: 151.6 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1085, allocations: 119.6 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1089, allocations: 167.1 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1092, allocations: 231.3 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1093, allocations: 29.66 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1094, allocations: 107.5 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1096, allocations: 139.5 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1096, allocations: 8 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1098, allocations: 59.98 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.1099, allocations: 51.83 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.1099, allocations: 79.36 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1102, allocations: 156 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1102, allocations: 0 / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1102, allocations: 0 / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1102, allocations: 4 kB / 473.6 MB, free: 10.5 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.0006625/0.1109, allocations: 0.5293 MB / 474.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1109, allocations: 12.03 kB / 474.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.111, allocations: 24.66 kB / 474.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1112, allocations: 271.5 kB / 474.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1113, allocations: 4.375 kB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1113, allocations: 12.12 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1115, allocations: 111.3 kB / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1116, allocations: 0 / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1116, allocations: 0 / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1116, allocations: 4 kB / 474.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1117, allocations: 47.91 kB / 474.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.1122, allocations: 464.8 kB / 475 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1126, allocations: 125.2 kB / 475.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.1127, allocations: 41.83 kB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1128, allocations: 8 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1131, allocations: 123.4 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.1131, allocations: 0 / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001273/0.1144, allocations: 488.9 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1144, allocations: 81.11 kB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1148, allocations: 355 kB / 476.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1148, allocations: 37.62 kB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.1149, allocations: 140.5 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.1149, allocations: 75.08 kB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.115, allocations: 41.7 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1152, allocations: 338.8 kB / 476.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1153, allocations: 59.91 kB / 476.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1154, allocations: 95.34 kB / 477 MB, free: 6.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1157, allocations: 167.4 kB / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1157, allocations: 0 / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003706/0.1161, allocations: 229.2 kB / 477.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1161, allocations: 7.938 kB / 477.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1161, allocations: 0 / 477.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1161, allocations: 4 kB / 477.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1163, allocations: 43.91 kB / 477.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1163, allocations: 4 kB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.1164, allocations: 8 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1164, allocations: 8 kB / 477.5 MB, free: 6.328 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.0001385/0.1166, allocations: 170.3 kB / 477.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1166, allocations: 31.56 kB / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.1167, allocations: 33.73 kB / 477.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1167, allocations: 4 kB / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1167, allocations: 0 / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1167, allocations: 0 / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008353/0.1176, allocations: 0.7232 MB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1176, allocations: 0 / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.1177, allocations: 27.98 kB / 478.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1177, allocations: 4 kB / 478.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1177, allocations: 11.94 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1177, allocations: 3.984 kB / 478.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1177, allocations: 7.938 kB / 478.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.1182, allocations: 416.1 kB / 478.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1182, allocations: 101 kB / 479 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.1183, allocations: 12 kB / 479 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1184, allocations: 15.94 kB / 479 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.1185, allocations: 23.91 kB / 479 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1185, allocations: 8 kB / 479 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.1187, allocations: 265.9 kB / 479.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1188, allocations: 0 / 479.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.1191, allocations: 47.91 kB / 479.3 MB, free: 4.32 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.001136/0.1202, allocations: 0.5139 MB / 479.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.1206, allocations: 167.8 kB / 480 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1206, allocations: 0 / 480 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1208, allocations: 79.84 kB / 480.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.1213, allocations: 61.2 kB / 480.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.1221, allocations: 0.5803 MB / 480.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1225, allocations: 0.7597 MB / 481.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1226, allocations: 31.42 kB / 481.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1226, allocations: 0 / 481.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Templates: time 0.005592/0.1282, allocations: 3.499 MB / 485 MB, free: 14.79 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches