Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 110 kB / 17.04 MB, free: 5.77 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.001014/0.001014, allocations: 196 kB / 17.98 MB, free: 5.004 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.421/1.421, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2097/0.2097, allocations: 43.52 MB / 314.7 MB, free: 492 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.001481/0.001481, allocations: 70.19 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002752/0.1125, allocations: 1.55 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.113, allocations: 319.5 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.1131, allocations: 4 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.1134, allocations: 119.7 kB / 444 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1136, allocations: 83.77 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1138, allocations: 79.7 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.114, allocations: 79.81 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1141, allocations: 11.94 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.1141, allocations: 43.88 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1143, allocations: 79.78 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1143, allocations: 8 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.1144, allocations: 28 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1144, allocations: 31.84 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1145, allocations: 31.73 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1146, allocations: 103.6 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1146, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1146, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1146, allocations: 0 / 444.5 MB, free: 3.59 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.0003825/0.115, allocations: 418.8 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1151, allocations: 19.89 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1151, allocations: 16.73 kB / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1153, allocations: 196 kB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1153, allocations: 384 / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1153, allocations: 8.312 kB / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1154, allocations: 49.8 kB / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1154, allocations: 0 / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1155, allocations: 4 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1155, allocations: 0 / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.1156, allocations: 19.98 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.1158, allocations: 300.8 kB / 445.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.116, allocations: 46.5 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.1161, allocations: 8.859 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1161, allocations: 0 / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.1161, allocations: 46.64 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1161, allocations: 0 / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000486/0.1166, allocations: 145.1 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.1167, allocations: 51.41 kB / 445.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1168, allocations: 266.3 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.1169, allocations: 25.7 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.1169, allocations: 116.1 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1169, allocations: 23.66 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.117, allocations: 17.66 kB / 446.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.117, allocations: 330.8 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.1171, allocations: 15.98 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.1171, allocations: 15.98 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.1172, allocations: 56.95 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1172, allocations: 4 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001368/0.1174, allocations: 77.58 kB / 446.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1174, allocations: 5.25 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1174, allocations: 0 / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1174, allocations: 7.984 kB / 446.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.1175, allocations: 11.94 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1175, allocations: 0 / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.1175, allocations: 11.98 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1176, allocations: 0 / 446.8 MB, free: 1.094 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.769e-05/0.1176, allocations: 145.6 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1177, allocations: 12.09 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.1179, allocations: 94.66 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1179, allocations: 3.984 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1179, allocations: 4 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1179, allocations: 0 / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1182, allocations: 362.4 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1182, allocations: 0 / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.1183, allocations: 11.98 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1183, allocations: 0 / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1183, allocations: 8 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1183, allocations: 3.938 kB / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1183, allocations: 0 / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1185, allocations: 187.5 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.1185, allocations: 85.02 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1185, allocations: 0 / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.1186, allocations: 7.938 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1186, allocations: 11.92 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1186, allocations: 0 / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1188, allocations: 199.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1188, allocations: 4 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1191, allocations: 23.98 kB / 447.9 MB, free: 15.85 MB / 334.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.0009383/0.12, allocations: 393.3 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1202, allocations: 51.95 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1202, allocations: 0 / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.1203, allocations: 31.92 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1206, allocations: 8 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1211, allocations: 274.5 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1214, allocations: 0.7119 MB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.1214, allocations: 11.98 kB / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1215, allocations: 11.44 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1215, allocations: 0 / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003595/0.1251, allocations: 1.141 MB / 450.5 MB, free: 13.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches