Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 114.2 kB / 17.98 MB, free: 5.344 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.001516/0.001516, allocations: 197.3 kB / 18.91 MB, free: 4.422 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.315/1.315, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2048/0.2048, allocations: 44.18 MB / 336.9 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 73.23 kB / 408.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003144/0.1188, allocations: 1.769 MB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1201, allocations: 0.8537 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.1202, allocations: 0 / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1205, allocations: 43.83 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1208, allocations: 51.77 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1211, allocations: 91.83 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1212, allocations: 95.7 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.1213, allocations: 4.234 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.1214, allocations: 47.77 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.1215, allocations: 31.8 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1215, allocations: 8 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1216, allocations: 47.97 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1217, allocations: 23.92 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.1218, allocations: 31.75 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1219, allocations: 84.09 kB / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1219, allocations: 0 / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1219, allocations: 4 kB / 472.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.122, allocations: 0 / 472.6 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.000533/0.1225, allocations: 411 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1225, allocations: 12.03 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.1226, allocations: 8.844 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1228, allocations: 208 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1228, allocations: 8.312 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1229, allocations: 8.125 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.123, allocations: 53.67 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.123, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.123, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.123, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.1231, allocations: 23.92 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1235, allocations: 288.9 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1236, allocations: 58.67 kB / 473.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.1237, allocations: 16.86 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1237, allocations: 4 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.1239, allocations: 75.33 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1239, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.1245, allocations: 169.2 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1245, allocations: 55.41 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1247, allocations: 186.2 kB / 474.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1247, allocations: 25.7 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1248, allocations: 108.1 kB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1248, allocations: 19.66 kB / 474.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.1249, allocations: 33.7 kB / 474.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.125, allocations: 326.8 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.1251, allocations: 20 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.1251, allocations: 37.64 kB / 474.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1252, allocations: 65.62 kB / 474.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1253, allocations: 4 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1254, allocations: 97.5 kB / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1255, allocations: 4 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1255, allocations: 0 / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1255, allocations: 7.984 kB / 474.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1256, allocations: 15.94 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1256, allocations: 0 / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1256, allocations: 7.938 kB / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1257, allocations: 4.031 kB / 474.9 MB, free: 9.004 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 9.344e-05/0.1258, allocations: 133.8 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1258, allocations: 7.906 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1258, allocations: 16.7 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1259, allocations: 7.938 kB / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1259, allocations: 0 / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1259, allocations: 3.938 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.1263, allocations: 391.3 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1263, allocations: 0 / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1264, allocations: 11.94 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1264, allocations: 4 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1264, allocations: 7.922 kB / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1264, allocations: 0 / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1264, allocations: 0 / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1266, allocations: 204.6 kB / 475.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1267, allocations: 85.02 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1267, allocations: 7.938 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1268, allocations: 8 kB / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1268, allocations: 7.984 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1268, allocations: 4 kB / 475.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.127, allocations: 143.2 kB / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.127, allocations: 0 / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1272, allocations: 20 kB / 475.9 MB, free: 7.852 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.001016/0.1283, allocations: 485.8 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1285, allocations: 59.91 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1285, allocations: 4.062 kB / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.1285, allocations: 31.97 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1289, allocations: 27.92 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.1294, allocations: 276.9 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1297, allocations: 0.7041 MB / 477.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1297, allocations: 19.44 kB / 477.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1297, allocations: 0 / 477.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Templates: time 0.003621/0.1333, allocations: 1.905 MB / 479.4 MB, free: 4.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches