Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.9 kB / 18.3 MB, free: 4.887 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.001444/0.001445, allocations: 195.5 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.8 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.107, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003069/0.1101, allocations: 1.545 MB / 471.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1115, allocations: 1.027 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.1116, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1118, allocations: 27.8 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.112, allocations: 43.78 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1123, allocations: 111.4 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1125, allocations: 59.83 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.1126, allocations: 15.98 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.1126, allocations: 19.92 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1128, allocations: 27.84 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1128, allocations: 4 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.1129, allocations: 47.98 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1129, allocations: 23.86 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.113, allocations: 19.86 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1132, allocations: 83.78 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1132, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1132, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1132, allocations: 0 / 473 MB, free: 11.3 MB / 350.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.0004447/0.1136, allocations: 375.6 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1137, allocations: 8.031 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1137, allocations: 8.844 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1139, allocations: 192.2 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1139, allocations: 384 / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.114, allocations: 4.375 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1141, allocations: 71.45 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1142, allocations: 7.922 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1142, allocations: 0 / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1142, allocations: 4 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1143, allocations: 27.91 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.1147, allocations: 276.9 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1149, allocations: 50.5 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.1149, allocations: 16.94 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1149, allocations: 0 / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.115, allocations: 34.56 kB / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.115, allocations: 0 / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005399/0.1155, allocations: 153.3 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1156, allocations: 77.11 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1157, allocations: 137.8 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1157, allocations: 29.7 kB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.1158, allocations: 92.14 kB / 474.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1158, allocations: 11.75 kB / 474.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1158, allocations: 21.7 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.116, allocations: 322.8 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.116, allocations: 19.98 kB / 474.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.1161, allocations: 33.69 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1163, allocations: 60.8 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1163, allocations: 0 / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1165, allocations: 89.75 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1165, allocations: 4 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1165, allocations: 4 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1165, allocations: 0 / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1166, allocations: 8 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1166, allocations: 4 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.1166, allocations: 7.984 kB / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1167, allocations: 0 / 475.1 MB, free: 8.949 MB / 350.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 7.496e-05/0.1167, allocations: 125.7 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1168, allocations: 3.906 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.117, allocations: 101.6 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.117, allocations: 4 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.117, allocations: 0 / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.117, allocations: 3.938 kB / 475.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1175, allocations: 354.4 kB / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1175, allocations: 0 / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1175, allocations: 11.98 kB / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1175, allocations: 4 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1176, allocations: 4 kB / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1176, allocations: 7.938 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1176, allocations: 0 / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1178, allocations: 179.4 kB / 475.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1178, allocations: 81.05 kB / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1179, allocations: 4.188 kB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1179, allocations: 11.94 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.118, allocations: 15.98 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.118, allocations: 0 / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.1181, allocations: 103.3 kB / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1181, allocations: 0 / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1184, allocations: 31.89 kB / 476.1 MB, free: 7.816 MB / 350.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.0009608/0.1193, allocations: 446 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1196, allocations: 47.97 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1196, allocations: 0 / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.1197, allocations: 35.91 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.12, allocations: 19.16 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1204, allocations: 191.1 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1206, allocations: 0.6924 MB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.1207, allocations: 11.44 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1207, allocations: 0 / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of Templates: time 0.003364/0.1241, allocations: 1.597 MB / 479.1 MB, free: 4.91 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches