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.001504/0.001504, 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.00159/0.00159, allocations: 191 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.388/1.388, allocations: 222.9 MB / 243 MB, free: 15.18 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.2035/0.2035, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 65.56 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002942/0.1145, allocations: 1.568 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.1152, allocations: 419.1 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1153, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1156, allocations: 127.7 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1158, allocations: 83.77 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1161, allocations: 111.7 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1163, allocations: 83.86 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1164, allocations: 20.17 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.1165, allocations: 47.83 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1166, allocations: 79.78 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1167, allocations: 7.938 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-05/0.1168, allocations: 47.97 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.1168, allocations: 23.92 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.1169, allocations: 35.69 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1171, allocations: 115.6 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1171, allocations: 0 / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1171, allocations: 0 / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1171, allocations: 4 kB / 473.5 MB, free: 10.89 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.0004598/0.1176, allocations: 422.8 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1176, allocations: 12.03 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1176, allocations: 12.78 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1178, allocations: 211.9 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1179, allocations: 8.359 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1179, allocations: 8.312 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1182, allocations: 57.55 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1182, allocations: 4 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1182, allocations: 4 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.1182, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.1183, allocations: 23.98 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1187, allocations: 316.6 kB / 474.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1189, allocations: 46.55 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1189, allocations: 16.86 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.119, allocations: 0 / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.119, allocations: 38.64 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.119, allocations: 3.938 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008975/0.1199, allocations: 241.1 kB / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1199, allocations: 51.41 kB / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1202, allocations: 278.2 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1202, allocations: 25.7 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.1203, allocations: 116 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1203, allocations: 23.64 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.1204, allocations: 21.72 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1206, allocations: 326.8 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.1207, allocations: 31.97 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1208, allocations: 31.98 kB / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1209, allocations: 68.81 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1209, allocations: 0 / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002328/0.1212, allocations: 125.4 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1212, allocations: 4 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1212, allocations: 0 / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1212, allocations: 4 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1213, allocations: 15.98 kB / 476 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1214, allocations: 3.938 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1214, allocations: 7.984 kB / 476 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1214, allocations: 0 / 476 MB, free: 8.156 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.0001151/0.1215, allocations: 141.8 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.1216, allocations: 19.75 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.1219, allocations: 127 kB / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1219, allocations: 7.984 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1219, allocations: 3.938 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1219, allocations: 432 / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.1225, allocations: 427.7 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1225, allocations: 0 / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.1226, allocations: 19.92 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1226, allocations: 4 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1226, allocations: 3.938 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1226, allocations: 4 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1226, allocations: 0 / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1229, allocations: 228.2 kB / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.123, allocations: 88.86 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.123, allocations: 7.984 kB / 477 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1231, allocations: 8 kB / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1231, allocations: 7.984 kB / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1231, allocations: 0 / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1233, allocations: 199.2 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1233, allocations: 4 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1236, allocations: 24 kB / 477.3 MB, free: 6.75 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.001096/0.1247, allocations: 466.1 kB / 477.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1249, allocations: 71.95 kB / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.125, allocations: 0 / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1251, allocations: 43.91 kB / 477.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1254, allocations: 23.44 kB / 477.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.126, allocations: 315.4 kB / 478.2 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1263, allocations: 0.7158 MB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.1264, allocations: 20.95 kB / 478.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.1264, allocations: 11.44 kB / 478.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1264, allocations: 0 / 478.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Templates: time 0.003983/0.1304, allocations: 1.4 MB / 480.3 MB, free: 3.836 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 -s gbode -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