Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 103.2 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.00157/0.00157, allocations: 193.9 kB / 17.56 MB, free: 5.938 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.647/1.647, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.221/0.221, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001634/0.001634, allocations: 66.86 kB / 382.9 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1112, allocations: 57.79 MB / 440.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003509/0.1148, allocations: 1.604 MB / 442.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006448/0.1154, allocations: 316 kB / 442.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.1155, allocations: 0 / 442.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1158, allocations: 27.84 kB / 442.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1161, allocations: 23.92 kB / 442.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1164, allocations: 79.28 kB / 442.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1166, allocations: 51.91 kB / 442.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1167, allocations: 11.94 kB / 442.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.1168, allocations: 19.86 kB / 442.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.1169, allocations: 23.86 kB / 442.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1169, allocations: 0 / 442.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.117, allocations: 35.98 kB / 442.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1171, allocations: 11.92 kB / 442.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1171, allocations: 23.88 kB / 442.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1173, allocations: 51.92 kB / 442.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1173, allocations: 0 / 442.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1173, allocations: 0 / 442.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1173, allocations: 0 / 442.9 MB, free: 5.094 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.0005508/0.1179, allocations: 379.1 kB / 443.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1179, allocations: 11.89 kB / 443.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.118, allocations: 8.844 kB / 443.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1182, allocations: 188.2 kB / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1182, allocations: 4.375 kB / 443.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1182, allocations: 4.375 kB / 443.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1184, allocations: 49.81 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1184, allocations: 0 / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1185, allocations: 0 / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1185, allocations: 4 kB / 443.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.1186, allocations: 23.97 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.119, allocations: 276.8 kB / 443.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1193, allocations: 38.56 kB / 443.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.1193, allocations: 20.94 kB / 443.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1194, allocations: 0 / 443.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1194, allocations: 30.56 kB / 443.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.1194, allocations: 8 kB / 444 MB, free: 3.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005677/0.12, allocations: 137.4 kB / 444.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.12, allocations: 51.41 kB / 444.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1201, allocations: 146 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1202, allocations: 33.64 kB / 444.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1202, allocations: 88.14 kB / 444.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1202, allocations: 23.66 kB / 444.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1203, allocations: 21.7 kB / 444.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.1203, allocations: 318.8 kB / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.1204, allocations: 19.98 kB / 444.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.1205, allocations: 24.05 kB / 444.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1206, allocations: 44.77 kB / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1206, allocations: 0 / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/0.1208, allocations: 77.67 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1208, allocations: 4 kB / 444.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1208, allocations: 0 / 444.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1208, allocations: 4 kB / 444.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.1209, allocations: 15.92 kB / 444.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1209, allocations: 0 / 444.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.121, allocations: 15.89 kB / 445 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.121, allocations: 0 / 445 MB, free: 2.836 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 8.389e-05/0.1211, allocations: 129.7 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1211, allocations: 4 kB / 445.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.1213, allocations: 85.97 kB / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1213, allocations: 0 / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1213, allocations: 0 / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1214, allocations: 0 / 445.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.1217, allocations: 354.6 kB / 445.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1217, allocations: 64 / 445.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1218, allocations: 19.98 kB / 445.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1218, allocations: 4 kB / 445.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1218, allocations: 0 / 445.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1218, allocations: 3.938 kB / 445.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1218, allocations: 0 / 445.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.122, allocations: 183.4 kB / 445.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.122, allocations: 77.11 kB / 445.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1221, allocations: 4 kB / 445.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.1221, allocations: 7.922 kB / 445.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1222, allocations: 4 kB / 445.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1222, allocations: 0 / 445.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.1222, allocations: 118.5 kB / 445.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1222, allocations: 0 / 445.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1225, allocations: 20 kB / 445.9 MB, free: 1.742 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.0009987/0.1235, allocations: 398.9 kB / 446.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1237, allocations: 47.91 kB / 446.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1237, allocations: 4 kB / 446.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.1238, allocations: 19.98 kB / 446.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1242, allocations: 23.27 kB / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1246, allocations: 211.2 kB / 446.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.1248, allocations: 0.6885 MB / 447.3 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1249, allocations: 11.44 kB / 447.3 MB, free: 368 kB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1249, allocations: 7.938 kB / 447.3 MB, free: 360 kB / 318.1 MB Notification: Performance of Templates: time 0.003451/0.1283, allocations: 1.355 MB / 448.7 MB, free: 15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches