Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.5 kB / 16.93 MB, free: 5.797 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.001052/0.001052, allocations: 191.3 kB / 17.86 MB, free: 5.148 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.456/1.456, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2023/0.2023, allocations: 43.52 MB / 314.6 MB, free: 0.5195 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.001779/0.001779, allocations: 69.75 kB / 383.4 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1109, allocations: 57.79 MB / 441.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00282/0.1138, allocations: 1.549 MB / 442.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005587/0.1144, allocations: 315.5 kB / 443 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1145, allocations: 3.938 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1147, allocations: 27.84 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1149, allocations: 43.78 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1151, allocations: 67.84 kB / 443.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1153, allocations: 51.84 kB / 443.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1154, allocations: 19.92 kB / 443.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.1155, allocations: 19.92 kB / 443.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.1155, allocations: 19.86 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1156, allocations: 4 kB / 443.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1156, allocations: 20 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1157, allocations: 27.91 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1157, allocations: 23.81 kB / 443.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1159, allocations: 71.8 kB / 443.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1159, allocations: 3.938 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1159, allocations: 7.984 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1159, allocations: 0 / 443.4 MB, free: 4.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003919/0.1163, allocations: 379.1 kB / 443.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1164, allocations: 11.89 kB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1164, allocations: 8.844 kB / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1165, allocations: 197.4 kB / 444 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1166, allocations: 8.312 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1166, allocations: 384 / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1167, allocations: 49.81 kB / 444.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1167, allocations: 0 / 444.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1167, allocations: 4 kB / 444.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1168, allocations: 3.984 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.1169, allocations: 23.92 kB / 444.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.1171, allocations: 280.8 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1173, allocations: 38.56 kB / 444.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.1174, allocations: 20.8 kB / 444.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1174, allocations: 0 / 444.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.1174, allocations: 38.64 kB / 444.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1175, allocations: 3.938 kB / 444.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005186/0.118, allocations: 137.3 kB / 444.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.118, allocations: 51.41 kB / 444.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1181, allocations: 168.9 kB / 444.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1182, allocations: 33.7 kB / 444.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1182, allocations: 96.14 kB / 445 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1182, allocations: 15.73 kB / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.1183, allocations: 17.72 kB / 445 MB, free: 2.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.1183, allocations: 326.8 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.1184, allocations: 15.98 kB / 445.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.1185, allocations: 19.98 kB / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1186, allocations: 49.03 kB / 445.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1186, allocations: 0 / 445.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001533/0.1187, allocations: 85.5 kB / 445.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1188, allocations: 4 kB / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1188, allocations: 0 / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1188, allocations: 0 / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.1189, allocations: 8 kB / 445.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1189, allocations: 4 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.1189, allocations: 7.984 kB / 445.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1189, allocations: 8.281 kB / 445.5 MB, free: 2.301 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.456e-05/0.119, allocations: 121.7 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.119, allocations: 7.906 kB / 445.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.1192, allocations: 101.8 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1193, allocations: 0 / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1193, allocations: 4 kB / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1193, allocations: 0 / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.1196, allocations: 354.4 kB / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1196, allocations: 0 / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.1197, allocations: 11.98 kB / 446.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1197, allocations: 3.938 kB / 446.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1197, allocations: 4.188 kB / 446.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1197, allocations: 7.938 kB / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1197, allocations: 0 / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1199, allocations: 175.4 kB / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1199, allocations: 81.09 kB / 446.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1199, allocations: 4 kB / 446.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.12, allocations: 7.938 kB / 446.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1201, allocations: 7.984 kB / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1201, allocations: 0 / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.976e-05/0.1202, allocations: 131.2 kB / 446.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1202, allocations: 0 / 446.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1204, allocations: 23.84 kB / 446.5 MB, free: 1.172 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008719/0.1213, allocations: 402.6 kB / 446.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1215, allocations: 47.91 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1215, allocations: 4 kB / 447 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.1216, allocations: 23.98 kB / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.122, allocations: 15.98 kB / 447 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.1223, allocations: 211.8 kB / 447.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1225, allocations: 0.7002 MB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.1226, allocations: 11.44 kB / 447.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1226, allocations: 0 / 447.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Templates: time 0.003165/0.1258, allocations: 1.408 MB / 449.4 MB, free: 14.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches