Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001547, allocations: 104.4 kB / 17.98 MB, free: 5.355 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.001728/0.001728, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.302/1.302, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2023/0.2023, allocations: 44.17 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 65.7 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003253/0.1131, allocations: 1.641 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.1139, allocations: 419.3 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.114, allocations: 4 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1143, allocations: 119.7 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1145, allocations: 79.83 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1149, allocations: 94.95 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1151, allocations: 79.86 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1152, allocations: 24.17 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.1153, allocations: 55.69 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1154, allocations: 83.8 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1154, allocations: 4 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.1155, allocations: 39.98 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1156, allocations: 35.89 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1157, allocations: 35.69 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1158, allocations: 88.17 kB / 472.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1158, allocations: 3.984 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1158, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1158, allocations: 0 / 472.2 MB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005014/0.1164, allocations: 422.7 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1164, allocations: 8.031 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1165, allocations: 16.83 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1167, allocations: 199.9 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1167, allocations: 12.38 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1167, allocations: 4.312 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1169, allocations: 57.59 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1169, allocations: 4 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1169, allocations: 4 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1169, allocations: 0 / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.117, allocations: 31.91 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1174, allocations: 316.7 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1176, allocations: 38.56 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1176, allocations: 20.94 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1176, allocations: 3.938 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1177, allocations: 30.56 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1177, allocations: 4 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00088/0.1186, allocations: 241.3 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1186, allocations: 51.41 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1189, allocations: 274.2 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1189, allocations: 33.7 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.119, allocations: 112 kB / 474 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.119, allocations: 23.72 kB / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1191, allocations: 29.7 kB / 474.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1192, allocations: 322.8 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.1193, allocations: 27.98 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.1193, allocations: 31.97 kB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1195, allocations: 72.77 kB / 474.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1195, allocations: 4 kB / 474.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002109/0.1197, allocations: 113.7 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1198, allocations: 7.984 kB / 474.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1198, allocations: 80 / 474.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1198, allocations: 7.938 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.1199, allocations: 16 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1199, allocations: 15.91 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.12, allocations: 4 kB / 474.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.12, allocations: 0 / 474.7 MB, free: 9.199 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 (8): * Single equations (assignments): 8 * 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 0.0001094/0.1201, allocations: 142.2 kB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.1201, allocations: 15.81 kB / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1204, allocations: 135 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1204, allocations: 0 / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1205, allocations: 7.938 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1205, allocations: 0 / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.121, allocations: 423.3 kB / 475.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.121, allocations: 4 kB / 475.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.1211, allocations: 19.92 kB / 475.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1211, allocations: 0 / 475.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1211, allocations: 11.97 kB / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1211, allocations: 0 / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1211, allocations: 0 / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1214, allocations: 212.2 kB / 475.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.1214, allocations: 92.86 kB / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1215, allocations: 0 / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1215, allocations: 12 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1216, allocations: 7.984 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1216, allocations: 4 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1218, allocations: 199.2 kB / 475.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1218, allocations: 0 / 475.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.122, allocations: 27.98 kB / 475.9 MB, free: 7.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001055/0.1231, allocations: 456.6 kB / 476.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.1233, allocations: 75.89 kB / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1234, allocations: 0 / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.1235, allocations: 44.14 kB / 476.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1238, allocations: 32.06 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1244, allocations: 377 kB / 476.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1247, allocations: 0.7197 MB / 477.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1247, allocations: 15.38 kB / 477.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1247, allocations: 4 kB / 477.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.004134/0.1289, allocations: 1.886 MB / 479.5 MB, free: 4.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches