Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 91.06 kB / 18 MB, free: 5.734 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.001316/0.001316, allocations: 179.7 kB / 18.91 MB, free: 4.867 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.347/1.347, allocations: 223.3 MB / 242.9 MB, free: 28 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1846/0.1846, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 8.719 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002115/0.1111, allocations: 1.413 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1125, allocations: 0.8383 MB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.1126, allocations: 3.938 kB / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1129, allocations: 55.86 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1132, allocations: 59.75 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1135, allocations: 95.75 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1137, allocations: 91.7 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1138, allocations: 16.22 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1139, allocations: 39.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.114, allocations: 31.84 kB / 475.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.114, allocations: 7.938 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1142, allocations: 39.98 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.1142, allocations: 27.91 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1143, allocations: 65.38 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1145, allocations: 100 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1145, allocations: 4 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1145, allocations: 0 / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1145, allocations: 0 / 475.8 MB, free: 10.45 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.0005457/0.1151, allocations: 418.9 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1151, allocations: 8.031 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1152, allocations: 12.84 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1154, allocations: 215.9 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1154, allocations: 4.375 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1154, allocations: 12.12 kB / 476.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1156, allocations: 53.67 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1156, allocations: 3.906 kB / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1156, allocations: 0 / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1157, allocations: 4 kB / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.1157, allocations: 15.98 kB / 476.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1161, allocations: 304.8 kB / 476.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1163, allocations: 54.69 kB / 476.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1164, allocations: 24.84 kB / 476.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1164, allocations: 0 / 476.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.1166, allocations: 75.27 kB / 477 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1166, allocations: 0 / 477 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.1172, allocations: 181.1 kB / 477.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1172, allocations: 55.34 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1175, allocations: 266.9 kB / 477.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1175, allocations: 29.7 kB / 477.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.1176, allocations: 116 kB / 477.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1176, allocations: 19.8 kB / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1177, allocations: 9.719 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1178, allocations: 330.8 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.1179, allocations: 27.98 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.118, allocations: 41.64 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1181, allocations: 61.62 kB / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1181, allocations: 0 / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1183, allocations: 101.5 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1183, allocations: 4 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1183, allocations: 4.031 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1184, allocations: 4 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.1185, allocations: 19.92 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1185, allocations: 0 / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.1185, allocations: 7.938 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1185, allocations: 0 / 478.2 MB, free: 7.773 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 0.0001246/0.1187, allocations: 137.8 kB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1187, allocations: 15.81 kB / 478.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.1188, allocations: 25.39 kB / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1188, allocations: 4 kB / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1188, allocations: 0 / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1188, allocations: 3.938 kB / 478.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1193, allocations: 403.6 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1193, allocations: 4 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1193, allocations: 8 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1193, allocations: 4 kB / 478.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1193, allocations: 3.969 kB / 478.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1194, allocations: 4 kB / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1194, allocations: 7.938 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1196, allocations: 200.3 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1197, allocations: 96.84 kB / 479.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1197, allocations: 7.938 kB / 479.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.1198, allocations: 7.984 kB / 479.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1198, allocations: 8 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1199, allocations: 4 kB / 479.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.12, allocations: 204.2 kB / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.12, allocations: 0 / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1203, allocations: 24 kB / 479.4 MB, free: 6.52 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.001148/0.1215, allocations: 472.4 kB / 479.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1217, allocations: 55.97 kB / 479.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1217, allocations: 0 / 479.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.1218, allocations: 35.92 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1222, allocations: 23.97 kB / 480 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.1228, allocations: 348.6 kB / 480.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1231, allocations: 0.7224 MB / 481 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.1231, allocations: 15.44 kB / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1231, allocations: 0 / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Templates: time 0.004688/0.1278, allocations: 2.036 MB / 483.1 MB, free: 2.957 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches