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.001608/0.001608, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001878/0.001878, allocations: 194 kB / 18.77 MB, free: 4.742 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.342/1.342, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.1998/0.1998, allocations: 44.18 MB / 336.8 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 61.33 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 60.85 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004359/0.1162, allocations: 1.753 MB / 471 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1181, allocations: 0.8653 MB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1183, allocations: 3.938 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.1189, allocations: 55.86 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1192, allocations: 51.81 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.1196, allocations: 95.77 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.1199, allocations: 95.69 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.12, allocations: 12.23 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1202, allocations: 39.78 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1203, allocations: 27.86 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1203, allocations: 7.984 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1205, allocations: 43.92 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.1206, allocations: 27.91 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.1207, allocations: 35.69 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1209, allocations: 100 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1209, allocations: 4 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.121, allocations: 0 / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.121, allocations: 4 kB / 472.4 MB, free: 11.55 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.0007901/0.1218, allocations: 430.8 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1218, allocations: 12.03 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.1219, allocations: 12.75 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1222, allocations: 223.9 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1222, allocations: 384 / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1222, allocations: 8.125 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1224, allocations: 57.67 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1224, allocations: 0 / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1224, allocations: 0 / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1224, allocations: 3.938 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.1225, allocations: 19.98 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1229, allocations: 300.8 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1231, allocations: 58.69 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.1232, allocations: 20.84 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1232, allocations: 4 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1235, allocations: 71.27 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1235, allocations: 0 / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.1241, allocations: 193 kB / 473.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1241, allocations: 55.34 kB / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1244, allocations: 262.9 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1244, allocations: 33.7 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.1245, allocations: 108.1 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1245, allocations: 19.72 kB / 474.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1246, allocations: 25.7 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1247, allocations: 330.8 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1248, allocations: 23.98 kB / 474.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.1249, allocations: 33.7 kB / 474.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.125, allocations: 61.66 kB / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.125, allocations: 0 / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.1252, allocations: 109.5 kB / 474.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.1252, allocations: 4 kB / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1253, allocations: 4.031 kB / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1253, allocations: 0 / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1254, allocations: 23.92 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1254, allocations: 0 / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1255, allocations: 3.938 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1255, allocations: 4 kB / 474.9 MB, free: 8.848 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.0001129/0.1256, allocations: 137.8 kB / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1256, allocations: 15.81 kB / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.1257, allocations: 21.39 kB / 475 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1257, allocations: 4 kB / 475 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1257, allocations: 3.984 kB / 475.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1257, allocations: 3.938 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.1262, allocations: 399.5 kB / 475.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1262, allocations: 0 / 475.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1262, allocations: 8.188 kB / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1262, allocations: 0 / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1263, allocations: 11.88 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1263, allocations: 4.109 kB / 475.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1263, allocations: 7.922 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1265, allocations: 212.2 kB / 475.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1266, allocations: 92.86 kB / 475.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1266, allocations: 3.938 kB / 475.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1267, allocations: 4 kB / 475.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1268, allocations: 12.36 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1268, allocations: 4 kB / 475.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.127, allocations: 200.2 kB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1273, allocations: 27.98 kB / 476 MB, free: 7.594 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.001099/0.1284, allocations: 468 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1286, allocations: 55.98 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1286, allocations: 0 / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.1287, allocations: 27.92 kB / 476.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1291, allocations: 27.97 kB / 476.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.1297, allocations: 339.3 kB / 476.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.13, allocations: 0.716 MB / 477.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.13, allocations: 19.44 kB / 477.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1301, allocations: 0 / 477.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004253/0.1343, allocations: 2.053 MB / 479.7 MB, free: 4.023 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