Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001658/0.001658, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.42/1.42, allocations: 222.9 MB / 242.5 MB, free: 13.63 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.2724/0.2724, allocations: 44.17 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.27 kB / 408.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 60.81 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002983/0.1064, allocations: 1.768 MB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1084, allocations: 1.448 MB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.1085, allocations: 3.938 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1088, allocations: 31.91 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.109, allocations: 47.83 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1092, allocations: 107.4 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1094, allocations: 83.77 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.1095, allocations: 12.23 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.1095, allocations: 47.77 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1097, allocations: 31.8 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1097, allocations: 4 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1098, allocations: 59.95 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1099, allocations: 15.92 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1099, allocations: 23.81 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1101, allocations: 96.03 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1101, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1101, allocations: 3.938 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1101, allocations: 0 / 472.9 MB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005622/0.1107, allocations: 403.2 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1107, allocations: 8.031 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.1108, allocations: 8.844 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.111, allocations: 214.6 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.111, allocations: 4.375 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.111, allocations: 8.125 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1112, allocations: 67.39 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1112, allocations: 0 / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1113, allocations: 4 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1113, allocations: 0 / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.1114, allocations: 19.92 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1117, allocations: 280.9 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1119, allocations: 66.61 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.112, allocations: 16.86 kB / 474 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.112, allocations: 3.984 kB / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.1122, allocations: 75.33 kB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1122, allocations: 0 / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005202/0.1127, allocations: 173.2 kB / 474.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1128, allocations: 85.09 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1129, allocations: 149.8 kB / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.113, allocations: 25.7 kB / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.113, allocations: 96.12 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.113, allocations: 23.7 kB / 474.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1131, allocations: 29.7 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1132, allocations: 326.8 kB / 475 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.1133, allocations: 12 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.1133, allocations: 46.56 kB / 475 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1135, allocations: 61.64 kB / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1135, allocations: 0 / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1137, allocations: 93.59 kB / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1137, allocations: 7.984 kB / 475.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1137, allocations: 0 / 475.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1137, allocations: 8 kB / 475.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.1138, allocations: 20 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1138, allocations: 192 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1139, allocations: 11.88 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1139, allocations: 7.922 kB / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.856e-05/0.114, allocations: 121.8 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.114, allocations: 11.91 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.114, allocations: 12.72 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1141, allocations: 7.984 kB / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1141, allocations: 0 / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1141, allocations: 3.938 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.1145, allocations: 383.3 kB / 475.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1145, allocations: 4 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1146, allocations: 7.938 kB / 475.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1146, allocations: 4 kB / 475.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1146, allocations: 11.92 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1146, allocations: 8.344 kB / 475.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1146, allocations: 4 kB / 475.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1148, allocations: 196.4 kB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1149, allocations: 85.02 kB / 476.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1149, allocations: 15.94 kB / 476.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.115, allocations: 3.984 kB / 476.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.115, allocations: 8 kB / 476.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.115, allocations: 4 kB / 476.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1152, allocations: 118 kB / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.1152, allocations: 0 / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1154, allocations: 39.92 kB / 476.3 MB, free: 7.312 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001133/0.1166, allocations: 0.4897 MB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1168, allocations: 55.97 kB / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1168, allocations: 64 / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1169, allocations: 31.94 kB / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1172, allocations: 35.61 kB / 476.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.1176, allocations: 238.3 kB / 477.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1179, allocations: 0.6926 MB / 477.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.1179, allocations: 23.36 kB / 477.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.118, allocations: 0 / 477.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of Templates: time 0.00376/0.1217, allocations: 2.05 MB / 479.9 MB, free: 3.848 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches