Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001179, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00129/0.00129, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.12 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.2048/0.2048, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.31 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002972/0.1075, allocations: 1.614 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.109, allocations: 1.062 MB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.1091, allocations: 4 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1093, allocations: 15.86 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1095, allocations: 47.77 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1099, allocations: 174.8 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.11, allocations: 75.77 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1101, allocations: 15.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.1102, allocations: 19.92 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1103, allocations: 35.84 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1103, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.1104, allocations: 47.97 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1105, allocations: 27.92 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1106, allocations: 23.86 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1107, allocations: 99.64 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1108, allocations: 4 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1108, allocations: 0 / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1108, allocations: 0 / 474 MB, free: 10.37 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.0004632/0.1112, allocations: 390.1 kB / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1113, allocations: 8.031 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1114, allocations: 8.844 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1116, allocations: 188.3 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1116, allocations: 8.375 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1116, allocations: 4.312 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1118, allocations: 75.52 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1118, allocations: 4 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1118, allocations: 0 / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1118, allocations: 7.938 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.112, allocations: 43.95 kB / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1124, allocations: 308.7 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1126, allocations: 46.56 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.1126, allocations: 24.94 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1127, allocations: 7.938 kB / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1127, allocations: 30.56 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1127, allocations: 0 / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007145/0.1134, allocations: 225.2 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1135, allocations: 85.11 kB / 475.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1136, allocations: 136.3 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1137, allocations: 25.7 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1137, allocations: 96.12 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1138, allocations: 23.66 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1138, allocations: 25.7 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.114, allocations: 314.8 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1141, allocations: 43.95 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1142, allocations: 53.62 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1144, allocations: 88.8 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1144, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/0.1147, allocations: 125.5 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1147, allocations: 8 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1147, allocations: 0 / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1147, allocations: 0 / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1149, allocations: 23.92 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1149, allocations: 0 / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.1149, allocations: 16.2 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.115, allocations: 8 kB / 476.4 MB, free: 7.73 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 (7): * Single equations (assignments): 7 * 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.397e-05/0.1151, allocations: 113.8 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1151, allocations: 7.906 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.1154, allocations: 142.3 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1154, allocations: 0 / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1155, allocations: 0 / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1155, allocations: 7.938 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.116, allocations: 410.4 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.116, allocations: 0 / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.1161, allocations: 19.98 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1161, allocations: 0 / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1161, allocations: 3.938 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1161, allocations: 7.938 kB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1161, allocations: 0 / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1165, allocations: 219.3 kB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1165, allocations: 88.95 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1165, allocations: 3.938 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.1166, allocations: 19.98 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1167, allocations: 7.984 kB / 477.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1167, allocations: 4 kB / 477.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.1168, allocations: 99.27 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1168, allocations: 0 / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1171, allocations: 28 kB / 477.5 MB, free: 6.465 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 (7): * Single equations (assignments): 7 * 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.001016/0.1181, allocations: 444.2 kB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.1184, allocations: 91.86 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1184, allocations: 0 / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1185, allocations: 56.12 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1189, allocations: 15.64 kB / 478.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1193, allocations: 214.3 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1196, allocations: 0.7001 MB / 479 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.1197, allocations: 27.92 kB / 479.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.1197, allocations: 19.42 kB / 479.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1197, allocations: 0 / 479.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of Templates: time 0.004126/0.1239, allocations: 1.524 MB / 480.6 MB, free: 3.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches