Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001258/0.001258, allocations: 194 kB / 18.77 MB, free: 4.742 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.371/1.371, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.1984/0.1984, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.97 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002858/0.1105, allocations: 1.637 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.1113, allocations: 395.3 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.1113, allocations: 4 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1116, allocations: 71.84 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1118, allocations: 51.81 kB / 471.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1121, allocations: 79.3 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1122, allocations: 67.88 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1123, allocations: 20.17 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.1124, allocations: 35.78 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.1125, allocations: 39.91 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1125, allocations: 4 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.1126, allocations: 43.97 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1127, allocations: 19.92 kB / 471.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.1127, allocations: 23.75 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1129, allocations: 72.17 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1129, allocations: 0 / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1129, allocations: 4 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1129, allocations: 3.938 kB / 471.7 MB, free: 12.25 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.0004501/0.1134, allocations: 411 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1134, allocations: 8.031 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1135, allocations: 12.78 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1136, allocations: 194 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1137, allocations: 4.359 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1137, allocations: 8.359 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1138, allocations: 53.62 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1139, allocations: 0 / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1139, allocations: 4 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1139, allocations: 4 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.114, allocations: 27.91 kB / 472.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1144, allocations: 292.7 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1145, allocations: 46.55 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1146, allocations: 12.86 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1146, allocations: 4 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1146, allocations: 38.5 kB / 472.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1146, allocations: 0 / 472.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008704/0.1155, allocations: 213.2 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1155, allocations: 59.41 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1157, allocations: 193.8 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1158, allocations: 29.7 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.1158, allocations: 96.12 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.1159, allocations: 23.66 kB / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1159, allocations: 21.7 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.116, allocations: 330.8 kB / 473.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.1161, allocations: 28.05 kB / 473.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.1162, allocations: 19.98 kB / 473.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1163, allocations: 60.83 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1163, allocations: 0 / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000196/0.1165, allocations: 101.4 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1165, allocations: 12 kB / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1166, allocations: 0 / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1166, allocations: 0 / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.1167, allocations: 23.92 kB / 474 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.1167, allocations: 7.938 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.1167, allocations: 3.984 kB / 474 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1168, allocations: 8 kB / 474 MB, free: 9.727 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 8.425e-05/0.1168, allocations: 118.4 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1169, allocations: 11.91 kB / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1171, allocations: 122.6 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1172, allocations: 4 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1172, allocations: 7.875 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1172, allocations: 432 / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1177, allocations: 403.2 kB / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1177, allocations: 0 / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.1177, allocations: 23.92 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1178, allocations: 0 / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1178, allocations: 0 / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1178, allocations: 4 kB / 474.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.1178, allocations: 3.938 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.118, allocations: 208.3 kB / 474.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1181, allocations: 84.95 kB / 475 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1181, allocations: 8 kB / 475 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1182, allocations: 3.984 kB / 475 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1182, allocations: 4 kB / 475 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1182, allocations: 4 kB / 475 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1184, allocations: 147.2 kB / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1184, allocations: 4 kB / 475.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1186, allocations: 16 kB / 475.2 MB, free: 8.461 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.001051/0.1197, allocations: 459.3 kB / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1199, allocations: 67.94 kB / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1199, allocations: 0 / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.12, allocations: 35.92 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1204, allocations: 19.92 kB / 475.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.1208, allocations: 294.2 kB / 476.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1211, allocations: 0.7004 MB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1211, allocations: 19.38 kB / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1211, allocations: 3.938 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of Templates: time 0.003375/0.1245, allocations: 1.667 MB / 478.4 MB, free: 5.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches