Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 107.5 kB / 16.64 MB, free: 5.918 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.001039/0.001039, allocations: 195.1 kB / 17.56 MB, free: 5.508 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.47/1.47, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2091/0.2091, allocations: 43.52 MB / 314.3 MB, free: 0.6953 MB / 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.001577/0.001577, allocations: 70.88 kB / 382.9 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 57.79 MB / 440.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002945/0.1094, allocations: 1.758 MB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1105, allocations: 0.789 MB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1107, allocations: 0 / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.111, allocations: 31.84 kB / 443.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1112, allocations: 51.83 kB / 443.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1115, allocations: 71.48 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1117, allocations: 103.7 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1118, allocations: 12.52 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.1119, allocations: 39.8 kB / 443.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.112, allocations: 35.78 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.112, allocations: 4 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1121, allocations: 39.92 kB / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1122, allocations: 19.92 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.1123, allocations: 31.8 kB / 443.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1124, allocations: 87.77 kB / 443.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1124, allocations: 8 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1124, allocations: 0 / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1125, allocations: 0 / 443.7 MB, free: 4.246 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.0004484/0.1129, allocations: 403 kB / 444.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.113, allocations: 11.89 kB / 444.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.113, allocations: 12.75 kB / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1132, allocations: 218 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1132, allocations: 384 / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1132, allocations: 4.125 kB / 444.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1134, allocations: 61.67 kB / 444.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1134, allocations: 0 / 444.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1134, allocations: 3.984 kB / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1134, allocations: 0 / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.1135, allocations: 19.98 kB / 444.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.1138, allocations: 284.8 kB / 444.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.114, allocations: 58.69 kB / 444.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.114, allocations: 24.78 kB / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1141, allocations: 0 / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1143, allocations: 63.39 kB / 444.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1143, allocations: 7.938 kB / 444.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004944/0.1148, allocations: 161.3 kB / 445 MB, free: 2.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1148, allocations: 63.41 kB / 445.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1149, allocations: 174 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1149, allocations: 29.7 kB / 445.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.115, allocations: 100.1 kB / 445.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.115, allocations: 31.62 kB / 445.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.1151, allocations: 17.72 kB / 445.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.1151, allocations: 326.8 kB / 445.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.1152, allocations: 28.36 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.1153, allocations: 33.7 kB / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.1153, allocations: 53.91 kB / 445.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1154, allocations: 7.938 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.1155, allocations: 101.5 kB / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1155, allocations: 4 kB / 446 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1156, allocations: 8.031 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1156, allocations: 0 / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.1157, allocations: 19.92 kB / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1157, allocations: 0 / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1157, allocations: 7.938 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1157, allocations: 8 kB / 446 MB, free: 1.711 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.235e-05/0.1158, allocations: 121.8 kB / 446.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1158, allocations: 15.8 kB / 446.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.1159, allocations: 12.72 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1159, allocations: 4 kB / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1159, allocations: 0 / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1159, allocations: 3.938 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.1162, allocations: 391.3 kB / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1162, allocations: 0 / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1163, allocations: 11.98 kB / 446.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1163, allocations: 0 / 446.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1163, allocations: 3.938 kB / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1163, allocations: 8.031 kB / 446.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1163, allocations: 3.938 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1165, allocations: 200.2 kB / 446.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.1165, allocations: 85.02 kB / 446.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1166, allocations: 3.938 kB / 446.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1166, allocations: 7.984 kB / 446.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1167, allocations: 8 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1167, allocations: 4 kB / 446.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.1168, allocations: 135.2 kB / 447 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1168, allocations: 0 / 447 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.117, allocations: 20 kB / 447.1 MB, free: 0.5781 MB / 318.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.001002/0.118, allocations: 482.6 kB / 447.5 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1182, allocations: 63.95 kB / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1182, allocations: 0 / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.1183, allocations: 27.92 kB / 447.6 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1186, allocations: 23.98 kB / 447.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.1192, allocations: 272.7 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1195, allocations: 0.7002 MB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1195, allocations: 23.44 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1195, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.00407/0.1236, allocations: 1.868 MB / 450.5 MB, free: 13.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches