Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001173/0.001173, allocations: 187 kB / 19.34 MB, free: 3.641 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.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.08 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.2027/0.2027, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 68.27 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1141, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002895/0.117, allocations: 1.551 MB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000771/0.1178, allocations: 407.1 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.1179, allocations: 0 / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1181, allocations: 19.86 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1183, allocations: 39.83 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1185, allocations: 90.95 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1187, allocations: 51.91 kB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1188, allocations: 15.98 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.1188, allocations: 23.86 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.1189, allocations: 15.88 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1189, allocations: 4 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.119, allocations: 27.97 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.119, allocations: 11.94 kB / 473 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.1191, allocations: 23.86 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1193, allocations: 71.8 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1193, allocations: 0 / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1193, allocations: 0 / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1193, allocations: 4 kB / 473.1 MB, free: 11.32 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.0004525/0.1197, allocations: 379.2 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1198, allocations: 8.031 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1198, allocations: 16.83 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.12, allocations: 180.2 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1201, allocations: 8.359 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1201, allocations: 384 / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1202, allocations: 49.81 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1202, allocations: 7.906 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1203, allocations: 3.984 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1203, allocations: 0 / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.1204, allocations: 23.98 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1207, allocations: 272.9 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1209, allocations: 42.55 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1209, allocations: 20.86 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.121, allocations: 0 / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.121, allocations: 30.56 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.121, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000492/0.1215, allocations: 137.4 kB / 474.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1215, allocations: 59.39 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1217, allocations: 142 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1217, allocations: 29.7 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.1218, allocations: 92.08 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1218, allocations: 15.8 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1218, allocations: 21.72 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1219, allocations: 322.7 kB / 474.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.122, allocations: 27.92 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.1221, allocations: 20.05 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1222, allocations: 40.84 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1222, allocations: 0 / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001648/0.1224, allocations: 81.58 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1224, allocations: 10.95 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1224, allocations: 0 / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1224, allocations: 4 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.1225, allocations: 15.94 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1225, allocations: 0 / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.1226, allocations: 7.984 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1226, allocations: 0 / 475.1 MB, free: 9.066 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 9.253e-05/0.1227, allocations: 121.7 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1227, allocations: 7.906 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1229, allocations: 97.95 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1229, allocations: 0 / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.123, allocations: 0 / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.123, allocations: 3.984 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1234, allocations: 346.4 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1234, allocations: 0 / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.1234, allocations: 8.312 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1234, allocations: 0 / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1235, allocations: 8 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1235, allocations: 7.938 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1235, allocations: 3.984 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1237, allocations: 175.4 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1237, allocations: 81.02 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1238, allocations: 4 kB / 475.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1238, allocations: 15.92 kB / 475.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1239, allocations: 4.281 kB / 475.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1239, allocations: 0 / 475.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.124, allocations: 113.4 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.124, allocations: 0 / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1242, allocations: 12 kB / 476.1 MB, free: 7.973 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.0009277/0.1252, allocations: 412.5 kB / 476.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1254, allocations: 51.91 kB / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1254, allocations: 0 / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1254, allocations: 23.98 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1258, allocations: 15.98 kB / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.1261, allocations: 169.5 kB / 476.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1265, allocations: 0.6924 MB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.989e-05/0.1266, allocations: 4 kB / 477.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1266, allocations: 15.42 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1266, allocations: 0 / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Templates: time 0.00352/0.1302, allocations: 1.088 MB / 478.5 MB, free: 5.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches