Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 109.8 kB / 17.03 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.001622/0.001622, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2439/0.2439, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 76.61 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1179, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002567/0.1205, allocations: 1.694 MB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.1214, allocations: 0.7922 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1215, allocations: 0 / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1218, allocations: 43.77 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.122, allocations: 59.75 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1222, allocations: 79.72 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1223, allocations: 103.7 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.1224, allocations: 8.219 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1225, allocations: 43.78 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.1226, allocations: 31.84 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1226, allocations: 0 / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.1227, allocations: 47.98 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.1227, allocations: 19.92 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1228, allocations: 35.73 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.123, allocations: 103.6 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.123, allocations: 4 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.123, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.123, allocations: 0 / 445 MB, free: 3.051 MB / 318.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.0004038/0.1234, allocations: 407 kB / 445.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1234, allocations: 11.89 kB / 445.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1235, allocations: 20.73 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1237, allocations: 210.1 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1237, allocations: 384 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1238, allocations: 8.125 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1239, allocations: 57.61 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1239, allocations: 0 / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1239, allocations: 3.984 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1239, allocations: 0 / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.124, allocations: 19.98 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1243, allocations: 284.9 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1244, allocations: 58.62 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1245, allocations: 20.84 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1245, allocations: 0 / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.1246, allocations: 75.33 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1246, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004645/0.1251, allocations: 173.5 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.1251, allocations: 51.41 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1253, allocations: 170.1 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1253, allocations: 33.7 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1253, allocations: 96.12 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1253, allocations: 27.66 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1254, allocations: 25.7 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.1254, allocations: 326.8 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.1255, allocations: 23.94 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.1256, allocations: 33.7 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.521e-05/0.1257, allocations: 61.77 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1257, allocations: 4 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000152/0.1258, allocations: 105.5 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1258, allocations: 9.25 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1259, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1259, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.126, allocations: 12 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.126, allocations: 0 / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.126, allocations: 11.92 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.126, allocations: 4 kB / 447.3 MB, free: 0.5195 MB / 318.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 6.037e-05/0.1261, allocations: 133.8 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1261, allocations: 11.81 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.1262, allocations: 16.7 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1262, allocations: 0 / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1262, allocations: 0 / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1262, allocations: 7.938 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1265, allocations: 387.3 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1266, allocations: 4.031 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1266, allocations: 8 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1266, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1266, allocations: 11.92 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1266, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1266, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1269, allocations: 208.2 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.127, allocations: 89.2 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.127, allocations: 3.938 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1271, allocations: 7.938 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1271, allocations: 7.984 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1271, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.685e-05/0.1272, allocations: 127.2 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 0 / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1275, allocations: 23.98 kB / 448.4 MB, free: 15.38 MB / 334.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.001025/0.1285, allocations: 482.3 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1287, allocations: 59.91 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1287, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.1288, allocations: 32 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1291, allocations: 23.97 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.1295, allocations: 210.9 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1298, allocations: 0.7041 MB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.1299, allocations: 17.25 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1299, allocations: 15.44 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1299, allocations: 0 / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.004393/0.1343, allocations: 1.687 MB / 451.6 MB, free: 12.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches