Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 105.1 kB / 16.64 MB, free: 6.82 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.001195/0.001196, allocations: 190.5 kB / 17.56 MB, free: 5.941 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.553/1.553, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2168/0.2168, allocations: 43.51 MB / 314.3 MB, free: 0.7188 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.00143/0.00143, allocations: 73.81 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 57.79 MB / 440.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.003231/0.114, allocations: 1.6 MB / 442.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.1147, allocations: 328.1 kB / 442.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.1148, allocations: 4 kB / 442.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1151, allocations: 27.84 kB / 442.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1154, allocations: 31.86 kB / 442.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1157, allocations: 83.52 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1159, allocations: 55.84 kB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.116, allocations: 23.92 kB / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.1161, allocations: 19.92 kB / 442.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.1162, allocations: 15.86 kB / 442.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1162, allocations: 4 kB / 442.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1163, allocations: 35.98 kB / 442.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1164, allocations: 19.86 kB / 442.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.1164, allocations: 23.8 kB / 442.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1166, allocations: 55.92 kB / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1166, allocations: 0 / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1166, allocations: 4 kB / 443 MB, free: 5.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1166, allocations: 0 / 443 MB, free: 5.035 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.0004328/0.1171, allocations: 387.1 kB / 443.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1171, allocations: 15.89 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1172, allocations: 8.844 kB / 443.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1173, allocations: 188.2 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1173, allocations: 384 / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1174, allocations: 4.375 kB / 443.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1175, allocations: 53.75 kB / 443.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1175, allocations: 4 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1175, allocations: 7.938 kB / 443.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1175, allocations: 0 / 443.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.1176, allocations: 19.98 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.118, allocations: 284.8 kB / 443.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1182, allocations: 50.5 kB / 444 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.1182, allocations: 16.94 kB / 444 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1183, allocations: 4 kB / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.1183, allocations: 30.56 kB / 444 MB, free: 3.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1183, allocations: 0 / 444 MB, free: 3.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005266/0.1188, allocations: 157.2 kB / 444.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1189, allocations: 51.41 kB / 444.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.119, allocations: 165.8 kB / 444.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.119, allocations: 25.7 kB / 444.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1191, allocations: 96.14 kB / 444.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.1191, allocations: 19.73 kB / 444.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.1191, allocations: 21.66 kB / 444.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.1192, allocations: 330.8 kB / 444.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.1192, allocations: 19.98 kB / 444.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.1193, allocations: 23.98 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1194, allocations: 56.95 kB / 445 MB, free: 2.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1194, allocations: 0 / 445 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.1196, allocations: 85.56 kB / 445.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.1196, allocations: 8 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1196, allocations: 0 / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1196, allocations: 0 / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.1197, allocations: 19.98 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1197, allocations: 0 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.1198, allocations: 4.281 kB / 445.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1198, allocations: 0 / 445.1 MB, free: 2.695 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.825e-05/0.1199, allocations: 133.7 kB / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1199, allocations: 7.906 kB / 445.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.1201, allocations: 101.9 kB / 445.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1201, allocations: 4 kB / 445.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1201, allocations: 0 / 445.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1201, allocations: 0 / 445.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1204, allocations: 362.3 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1205, allocations: 0 / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.1205, allocations: 19.98 kB / 445.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1205, allocations: 0 / 445.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1205, allocations: 0 / 445.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1205, allocations: 3.938 kB / 445.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1206, allocations: 192 / 445.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1207, allocations: 187.4 kB / 445.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.1208, allocations: 81.11 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1208, allocations: 4 kB / 446 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.1208, allocations: 7.922 kB / 446 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1209, allocations: 4 kB / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1209, allocations: 0 / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.65e-05/0.121, allocations: 138.6 kB / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.121, allocations: 0 / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1212, allocations: 19.89 kB / 446.2 MB, free: 1.543 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.0008526/0.1221, allocations: 399.3 kB / 446.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1223, allocations: 47.95 kB / 446.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1223, allocations: 7.938 kB / 446.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.1224, allocations: 27.92 kB / 446.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1227, allocations: 19.92 kB / 446.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.1231, allocations: 243.9 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1233, allocations: 0.7002 MB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.1233, allocations: 11.44 kB / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1233, allocations: 0 / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of Templates: time 0.003467/0.1268, allocations: 1.426 MB / 449 MB, free: 14.69 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches