Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001388/0.001388, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.448/1.448, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2127/0.2127, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001669/0.001669, allocations: 67.05 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1078, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002783/0.1107, allocations: 1.571 MB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.1112, allocations: 315.5 kB / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1113, allocations: 4 kB / 443.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1115, allocations: 35.83 kB / 443.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1117, allocations: 43.77 kB / 443.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.112, allocations: 63.84 kB / 443.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1121, allocations: 67.84 kB / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1122, allocations: 28.09 kB / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.1123, allocations: 27.86 kB / 443.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.1124, allocations: 27.86 kB / 443.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1124, allocations: 4 kB / 443.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.1125, allocations: 35.97 kB / 443.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1125, allocations: 12 kB / 443.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.1125, allocations: 27.8 kB / 443.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1127, allocations: 83.66 kB / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1127, allocations: 0 / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1127, allocations: 0 / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1127, allocations: 3.984 kB / 443.5 MB, free: 4.562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003853/0.1131, allocations: 383.2 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1131, allocations: 15.88 kB / 443.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1132, allocations: 12.75 kB / 443.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1133, allocations: 192.2 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1134, allocations: 384 / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1134, allocations: 8.375 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1135, allocations: 57.55 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1136, allocations: 8 kB / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1136, allocations: 0 / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1136, allocations: 0 / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.1137, allocations: 31.97 kB / 444.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.114, allocations: 304.7 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1141, allocations: 50.5 kB / 444.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.1142, allocations: 24.95 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1142, allocations: 4 kB / 444.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1142, allocations: 30.56 kB / 444.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.1142, allocations: 7.938 kB / 444.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.1148, allocations: 173.2 kB / 444.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1148, allocations: 55.41 kB / 444.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.115, allocations: 165.3 kB / 445 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.115, allocations: 25.7 kB / 445 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.115, allocations: 92.14 kB / 445.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1151, allocations: 35.62 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1151, allocations: 21.7 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.1152, allocations: 322.8 kB / 445.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.1153, allocations: 19.98 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.1153, allocations: 23.98 kB / 445.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1155, allocations: 64.77 kB / 445.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1155, allocations: 4 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001725/0.1156, allocations: 97.56 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1157, allocations: 4 kB / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1157, allocations: 0 / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1157, allocations: 0 / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1158, allocations: 19.98 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1158, allocations: 3.938 kB / 445.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.1158, allocations: 4 kB / 445.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1159, allocations: 4 kB / 445.7 MB, free: 2.121 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 (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 6.962e-05/0.1159, allocations: 133.7 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.116, allocations: 7.906 kB / 445.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1162, allocations: 118.6 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1162, allocations: 0 / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1162, allocations: 3.938 kB / 446 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1162, allocations: 0 / 446 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.1166, allocations: 386.4 kB / 446.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1166, allocations: 384 / 446.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1167, allocations: 15.98 kB / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1167, allocations: 7.938 kB / 446.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.1167, allocations: 0 / 446.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1167, allocations: 4 kB / 446.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1167, allocations: 0 / 446.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1169, allocations: 203.3 kB / 446.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.117, allocations: 88.95 kB / 446.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.117, allocations: 3.938 kB / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1171, allocations: 4 kB / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1171, allocations: 7.984 kB / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1171, allocations: 0 / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.1172, allocations: 127.2 kB / 446.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1172, allocations: 0 / 446.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1174, allocations: 19.94 kB / 446.8 MB, free: 0.9023 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 (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.0008577/0.1183, allocations: 394.9 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1185, allocations: 63.89 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1185, allocations: 0 / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.1186, allocations: 39.98 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.119, allocations: 15.98 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.1194, allocations: 227.6 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1197, allocations: 0.7016 MB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1197, allocations: 15.42 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.654e-06/0.1197, allocations: 0 / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003326/0.123, allocations: 1.533 MB / 449.8 MB, free: 13.95 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches